Mercurial > emacs
view lib-src/testfile @ 108596:cd5442b2826b
Implement bidi-sensitive movement with arrow keys.
src/bidi.c (bidi_paragraph_init): Don't leave alone garbage values
of bidi_it->paragraph_dir. Call bidi_initialize if needed.
src/xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
(syms_of_xdisp): Defsubr it.
src/cmds.c (Fforward_char, Fbackward_char): Doc fix.
src/subr.el (right-arrow-command, left-arrow-command): New functions.
src/bindings.el (global-map): Bind them to right and left arrow keys.
etc/NEWS: Mention current-bidi-paragraph-direction
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 15 May 2010 16:23:48 +0300 |
parents | 8e1b437e5d04 |
children |