Eugene Morozov avatar Eugene Morozov committed a783645

Removed unused code.

Comments (0)

Files changed (1)

 (require 'browse-kill-ring)
 (browse-kill-ring-default-keybindings)
 
-;; Ledger mode
-(autoload 'ledger-mode "ledger" "A mode for editing ledger data files." t)
-
-;; Load support for dictionary lookups
-;; URL: http://www.in-berlin.de/User/myrkr/dictionary.html
-(autoload 'dictionary-search "dictionary"
-  "Ask for a word and search it in all dictionaries" t)
-(autoload 'dictionary-match-words "dictionary"
-  "Ask for a word and search all matching words in the dictionaries" t)
-(autoload 'dictionary-lookup-definition "dictionary"
-  "Unconditionally lookup the word at point." t)
-(autoload 'dictionary "dictionary"
-  "Create a new dictionary buffer" t)
-(autoload 'dictionary-mouse-popup-matching-words "dictionary"
-  "Display entries matching the word at the cursor" t)
-(autoload 'dictionary-popup-matching-words "dictionary"
-  "Display entries matching the word at the point" t)
-(autoload 'dictionary-tooltip-mode "dictionary"
-  "Display tooltips for the current word" t)
-(autoload 'global-dictionary-tooltip-mode "dictionary"
-  "Enable/disable dictionary-tooltip-mode for all buffers" t)
-
-(global-set-key [(control c) ?s] 'dictionary-search)
-(global-set-key [(control c) ?m] 'dictionary-match-words)
-
 ;; auto-mode-alist setup
 
 ;; Open every file ending in .sql with sql mode
 ;; Load modes for various config files
 (require 'generic-x)
 
-(autoload 'javascript-mode "javascript" nil t)
-
-;; Remove dumb javascript-generic mode
-(defun replace-alist-mode (alist oldmode newmode)
-  (if (eq (cdr (car alist)) oldmode)
-      (setcdr (car alist) newmode))
-  (if (not (eq (cdr alist) nil))
-      (replace-alist-mode (cdr alist) oldmode newmode)))
-
-(replace-alist-mode auto-mode-alist 'javascript-generic-mode 'javascript-mode)
-
 
 ;; Cyrillic settings
 
 
 ;; Hooks
 
-(add-hook 'find-file-hook 'auto-insert)
 (add-hook 'emacs-lisp-mode-hook 'imenu-add-menubar-index)
 (add-hook 'javascript-mode-hook 'imenu-add-menubar-index)
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.