From: Paul Eggert Date: Mon, 23 Feb 2015 06:00:01 +0000 (-0800) Subject: Fix the desired binding for comment-line X-Git-Tag: emacs-25.0.90~2564^2~314 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34871865de0452cd251e92d76ab12c2ac237e783;p=emacs.git Fix the desired binding for comment-line * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding. Fixes: bug#19826 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6352d77ca3a..c1fb8697707 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2015-02-23 Paul Eggert + + Fix the desired binding for comment-line + * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding. + Fixes: bug#19826 + 2015-02-23 Stefan Monnier * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare diff --git a/lisp/bindings.el b/lisp/bindings.el index a1f0d987f5c..b658914c454 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -1130,7 +1130,7 @@ if `inhibit-field-text-motion' is non-nil." (define-key esc-map "j" 'indent-new-comment-line) (define-key esc-map "\C-j" 'indent-new-comment-line) (define-key ctl-x-map ";" 'comment-set-column) -(define-key ctl-x-map "\M-;" 'comment-line) +(define-key ctl-x-map [?\C-\;] 'comment-line) (define-key ctl-x-map "f" 'set-fill-column) (define-key ctl-x-map "$" 'set-selective-display)