diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-08 07:22:02 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-02-08 07:22:02 +0100 |
commit | f2814b2018f731a9b299422191591e5b1e857827 (patch) | |
tree | a07b7995d9f3a2d2bd151c449ed14491bee2dc62 | |
parent | efb10ffdb75ba61353b3451797e0214ac2f03171 (diff) | |
download | emacs-f2814b2018f731a9b299422191591e5b1e857827.tar.gz |
Make `C-a' in enriched-mode behave more line in other modes
* lisp/textmodes/enriched.el (enriched-mode-map): Don't rebind
beginning-or-line, because it makes `C-S-a' not mark the region,
and it doesn't allow actually moving to the beginning of the line
if the line starts with characters in `adaptive-fill-regexp'
(bug#22554).
-rw-r--r-- | lisp/textmodes/enriched.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el index bac209cdef6..fe92d603065 100644 --- a/lisp/textmodes/enriched.el +++ b/lisp/textmodes/enriched.el @@ -186,7 +186,6 @@ The value is a list of \(VAR VALUE VAR VALUE...).") (defvar enriched-mode-map (let ((map (make-sparse-keymap))) - (define-key map [remap move-beginning-of-line] 'beginning-of-line-text) (define-key map "\C-m" 'reindent-then-newline-and-indent) (define-key map [remap newline-and-indent] 'reindent-then-newline-and-indent) |