From ed0d048a4d85063f6ade6f1b526c3cc6c6c31a16 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 13 Feb 2016 22:08:52 +0900 Subject: [PATCH] emacs.el: Do not enable reindent when pressing C-m --- emacs.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 4ff2dc8..88d2f2d 100644 --- a/emacs.el +++ b/emacs.el @@ -964,7 +964,10 @@ IF OK-IF-ALREADY-EXISTS is true force download." (set-variable 'sh-here-document-word "__EOC__") -(when (autoload-eval-lazily 'adoc-mode) +(when (autoload-eval-lazily 'adoc-mode + nil + (defvar adoc-mode-map (make-sparse-keymap)) + (define-key adoc-mode-map (kbd "C-m") 'newline)) (setq auto-mode-alist `(("\\.adoc\\'" . adoc-mode) ("\\.asciidoc\\'" . adoc-mode)