summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2014-01-24 05:22:30 (GMT)
committerRavikiran Rajagopal <aine.marina@gmail.com>2014-01-24 05:22:30 (GMT)
commita3ff691d3a2b36d7484ab4e7350b4efd30b7a34b (patch)
treec1a4456f17d7260097cfb560d7788f1a32ff31f3
parent9734d2bc9c96126dd534a06689734af765a9b2cc (diff)
downloaddotemacs-a3ff691d3a2b36d7484ab4e7350b4efd30b7a34b.zip
dotemacs-a3ff691d3a2b36d7484ab4e7350b4efd30b7a34b.tar.gz
dotemacs-a3ff691d3a2b36d7484ab4e7350b4efd30b7a34b.tar.bz2
Workaround for emacs 24.3 bug: lisp-mode-map does not inherit from prog-mode-map
-rw-r--r--ravi-init-appearance.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/ravi-init-appearance.el b/ravi-init-appearance.el
index 0571f9d..1005f7b 100644
--- a/ravi-init-appearance.el
+++ b/ravi-init-appearance.el
@@ -97,6 +97,7 @@
;; Enable automatic indentation, if possible
(bind-key "<return>" 'newline-and-indent prog-mode-map)
+(bind-key "<return>" 'newline-and-indent emacs-lisp-mode-map)
;; Automatic indentation of yanked text
(dolist (command '(yank yank-pop))