From: Stefan Merten Date: Sat, 2 Jun 2012 12:29:21 +0000 (+0200) Subject: (rst-mode-map): Fix meaning of C-M-a / C-M-e. X-Git-Tag: emacs-24.2.90~471^2~6^2~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4cf9b38dd572979c53bc5a7892c27b2a40a6f039;p=emacs.git (rst-mode-map): Fix meaning of C-M-a / C-M-e. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eeb70bedd99..b973d09fc43 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -74,6 +74,7 @@ 2012-06-02 Stefan Merten * textmodes/rst.el: Always require `cl'. + (rst-mode-map): Fix meaning of C-M-a / C-M-e. 2012-06-02 Chong Yidong diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 52c97ff8789..6066d337a0f 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el @@ -123,7 +123,7 @@ and before TAIL-RE and DELIM-RE in VAR or DEFAULT for no match." ;; Use CVSHeader to really get information from CVS and not other version ;; control systems. (defconst rst-cvs-header - "$CVSHeader: sm/rst_el/rst.el,v 1.257.2.10 2012-06-02 09:38:40 stefan Exp $") + "$CVSHeader: sm/rst_el/rst.el,v 1.257.2.11 2012-06-02 12:20:41 stefan Exp $") (defconst rst-cvs-rev (rst-extract-version "\\$" "CVSHeader: \\S + " "[0-9]+\\(?:\\.[0-9]+\\)+" " .*" rst-cvs-header "0.0") @@ -546,11 +546,11 @@ well but give an additional message." (rst-define-key map [?\C-\M-h] 'rst-mark-section ;; Same as mark-defun sgml-mark-current-element. [?\C-c ?\C-m]) - ;; Move forward/backward between section titles. - (rst-define-key map [?\C-\M-a] 'rst-forward-section + ;; Move backward/forward between section titles. + (rst-define-key map [?\C-\M-a] 'rst-backward-section ;; Same as beginning-of-defun. [?\C-c ?\C-n]) - (rst-define-key map [?\C-\M-e] 'rst-backward-section + (rst-define-key map [?\C-\M-e] 'rst-forward-section ;; Same as end-of-defun. [?\C-c ?\C-p])