Implement bidi-sensitive word movement with arrow keys.
authorEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 15:19:13 +0000 (18:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 May 2010 15:19:13 +0000 (18:19 +0300)
commitdb5dce9dd18461205d9320bb705648fe44df328b
tree2513c57935d0c244d00af98febe702e41b40ab23
parent06fa4a23522821fc3a4e93c7ca505bae4d4733de
Implement bidi-sensitive word movement with arrow keys.

 lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el.
 lisp/bindings.el (right-char, left-char): Move from subr.el and
 rename from right-arrow-command and left-arrow-command.
 (right-word, left-word): New functions.
 (global-map) <right>: Bind to right-char.
 (global-map) <left>: Bind to left-char.
 (global-map) <C-right>: Bind to right-word.
 (global-map) <C-left>: Bind to left-word.

 doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound
 to arrows.  Document bidi-aware behavior of C-<right> and C-<left>.
doc/emacs/ChangeLog
doc/emacs/basic.texi
lisp/ChangeLog
lisp/bindings.el
lisp/subr.el