From 5dd1713eeb99b60b6d4a1b9ed6a64fb3c95a21cd Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 15 Apr 2012 17:16:50 +0800 Subject: [PATCH] * bindings.el (goto-map): Bind goto-char to M-g c. Fixes: debbugs:11240 --- etc/NEWS | 2 ++ lisp/ChangeLog | 4 ++++ lisp/bindings.el | 1 + 3 files changed, 7 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 186dca19495..56a0c9bf95d 100644 --- 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'. + * Changes in Specialized Modes and Packages in Emacs 24.2 diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b2a3f135109..4b1fa58108f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-04-15 Chong Yidong + + * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240). + 2012-04-15 Stefan Monnier Avoid the use of ((lambda ...) ...) in lexical-binding code. diff --git a/lisp/bindings.el b/lisp/bindings.el index a87f321c936..8cfeecf5b40 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -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) -- 2.39.2