From: Chong Yidong Date: Fri, 7 Oct 2011 16:05:10 +0000 (-0400) Subject: * bindings.el ([M-left],[M-right]): Bind to left-word and right-word respectively. X-Git-Tag: emacs-pretest-24.0.91~190 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c383327999c7bd66492878122fd2867acdeb9a23;p=emacs.git * bindings.el ([M-left],[M-right]): Bind to left-word and right-word respectively. --- 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)