]> code.delx.au - gnu-emacs/commitdiff
* bindings.el (goto-map): Bind goto-char to M-g c.
authorChong Yidong <cyd@gnu.org>
Sun, 15 Apr 2012 09:16:50 +0000 (17:16 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 15 Apr 2012 09:16:50 +0000 (17:16 +0800)
Fixes: debbugs:11240
etc/NEWS
lisp/ChangeLog
lisp/bindings.el

index 186dca19495692fbe85f0ec83a2dc8dce4e2a9d0..56a0c9bf95de989105744f5785ac2aa26f3a5176 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -47,6 +47,8 @@ prompts for a column number.
 ** `C-M-f' and `C-M-b' will now move to the path name separator
 character when doing minibuffer filename prompts.
 
+** `goto-char' is now bound to `M-g c'.
+
 \f
 * Changes in Specialized Modes and Packages in Emacs 24.2
 
index b2a3f135109fb1ec1042940215f17eb6bfe226d4..4b1fa58108f4e72e85c075e131fcfe38602e383f 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-15  Chong Yidong  <cyd@gnu.org>
+
+       * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
+
 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        Avoid the use of ((lambda ...) ...) in lexical-binding code.
index a87f321c936f21a67eaf85a64a281a2eff95a127..8cfeecf5b40be4b577a18a6aae485c79a9ffd0ec 100644 (file)
@@ -868,6 +868,7 @@ if `inhibit-field-text-motion' is non-nil."
   "Keymap for navigation commands.")
 (define-key esc-map "g" goto-map)
 
+(define-key goto-map    "c" 'goto-char)
 (define-key goto-map    "g" 'goto-line)
 (define-key goto-map "\M-g" 'goto-line)
 (define-key goto-map    "n" 'next-error)