changeset 60685:08055baffb97

(esc-map): Make M-g a prefix. Bind M-g g and M-g M-g to goto-line.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Mar 2005 23:43:17 +0000
parents 18bf961ed63a
children 8680359f80e1
files lisp/bindings.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/bindings.el	Thu Mar 17 23:39:12 2005 +0000
+++ b/lisp/bindings.el	Thu Mar 17 23:43:17 2005 +0000
@@ -705,7 +705,9 @@
 (define-key ctl-x-map "\C-n" 'set-goal-column)
 (define-key global-map "\C-a" 'move-beginning-of-line)
 (define-key global-map "\C-e" 'move-end-of-line)
-(define-key esc-map "g" 'goto-line)
+(define-key esc-map "g" (make-sparse-keymap))
+(define-key esc-map "g\M-g" 'goto-line)
+(define-key esc-map "gg" 'goto-line)
 
 ;;(defun function-key-error ()
 ;;  (interactive)