diff options
Diffstat (limited to '.emacs')
-rw-r--r-- | .emacs | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -142,22 +142,22 @@ browse-url-browser-function 'browse-url-generic) (add-hook 'lisp-mode-hook - (function - (lambda () - (make-local-variable 'indent-tabs-mode) - (setq indent-tabs-mode nill)) - )) + '(lambda () + (set (make-local-variable 'indent-tabs-mode) nil) + )) -(defun coffee-custom () - "coffee-mode-hook" - (set (make-local-variable 'tab-width) 2)) +(add-hook 'emacs-lisp-mode-hook + '(lambda () + (set (make-local-variable 'indent-tabs-mode) nil) + )) (add-hook 'coffee-mode-hook - '(lambda() (coffee-custom))) + '(lambda () + (set (make-local-variable 'tab-width) 2) + )) (add-hook 'term-mode-hook - (function - (lambda () + '(lambda () (setq term-prompt-regexp "^[^#$%>\n]*[#$%>] *") (make-local-variable 'mouse-yank-at-point) ;(make-local-variable 'transient-mark-mode) @@ -165,8 +165,8 @@ ;(setq transient-mark-mode nil) (auto-fill-mode -1) (setq tab-width 8 ) - (setq autopair-dont-activate t)) ;; Don't let autopair break ansi-term - )) + (setq autopair-dont-activate t) ;; Don't let autopair break ansi-term + )) ;(require 'flymake) ;(add-hook 'php-mode-hook (lambda() (flymake-mode 1))) |