chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb6262
)
el/dot-emacs.el (mdw-misc-mode-config): Don't override RET in comint modes.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 5 Aug 2017 23:51:30 +0000
(
00:51
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 5 Aug 2017 23:51:30 +0000
(
00:51
+0100)
It's needed for entering input lines.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 5d645015afe39be6eca0b54b035c5d6ad785742d..37bd96a6c07ce38822f9cae6b43f6b85431d40fe 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-1094,7
+1094,7
@@
(defun mdw-misc-mode-config ()
(and mdw-auto-indent
(cond ((eq major-mode 'lisp-mode)
(local-set-key "\C-m" 'mdw-indent-newline-and-indent))
- ((derived-mode-p 'slime-repl-mode 'asm-mode)
+ ((derived-mode-p 'slime-repl-mode 'asm-mode
'comint-mode
)
nil)
(t
(local-set-key "\C-m" 'newline-and-indent))))