From c383327999c7bd66492878122fd2867acdeb9a23 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 7 Oct 2011 12:05:10 -0400 Subject: [PATCH] * bindings.el ([M-left],[M-right]): Bind to left-word and right-word respectively. --- lisp/ChangeLog | 5 +++++ lisp/bindings.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c6bb97b68c1..6c32655d96c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-10-07 Chong Yidong + + * bindings.el ([M-left],[M-right]): Bind to left-word and + right-word respectively. + 2011-10-07 Glenn Morris * cus-start.el (debug-on-quit): Fix custom type. diff --git a/lisp/bindings.el b/lisp/bindings.el index 57bfeb60f82..c056fce1e60 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -1103,9 +1103,9 @@ if `inhibit-field-text-motion' is non-nil." "Keymap for characters following C-c.") (define-key global-map "\C-c" 'mode-specific-command-prefix) -(global-set-key [M-right] 'forward-word) +(global-set-key [M-right] 'right-word) (define-key esc-map [right] 'forward-word) -(global-set-key [M-left] 'backward-word) +(global-set-key [M-left] 'left-word) (define-key esc-map [left] 'backward-word) ;; ilya@math.ohio-state.edu says these bindings are standard on PC editors. (global-set-key [C-right] 'right-word) -- 2.39.2