Browse Source

emacs.el: Do not enable reindent when pressing C-m

pull/15/head
10sr 8 years ago
parent
commit
ed0d048a4d
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      emacs.el

+ 4
- 1
emacs.el View File

@@ -964,7 +964,10 @@ IF OK-IF-ALREADY-EXISTS is true force download."


(set-variable 'sh-here-document-word "__EOC__") (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 (setq auto-mode-alist
`(("\\.adoc\\'" . adoc-mode) `(("\\.adoc\\'" . adoc-mode)
("\\.asciidoc\\'" . adoc-mode) ("\\.asciidoc\\'" . adoc-mode)


Loading…
Cancel
Save