summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs26
1 files changed, 13 insertions, 13 deletions
diff --git a/.emacs b/.emacs
index 851d140..5826d35 100644
--- a/.emacs
+++ b/.emacs
@@ -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)))