• Eli Zaretskii's avatar
    Implement bidi-sensitive movement with arrow keys. · d20e1419
    Eli Zaretskii authored
     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
    d20e1419
NEWS 9.96 KB