diff options
author | Chong Yidong <[email protected]> | 2011-08-10 15:03:56 -0400 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2011-08-10 15:03:56 -0400 |
commit | 3e26a4a28c6ad382f3bea07a1a6e0175ed8acdc6 (patch) | |
tree | e5b61892f81417d3af99a4b28e2153e55b0f8b7d /etc/NEWS | |
parent | ac8cf6e698c4612dc3ed195dbf1348db67f59fe5 (diff) |
New function `string-mark-left-to-right' for handling LRMs.
* lisp/subr.el (string-mark-left-to-right): New function.
* lisp/buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
Use string-mark-left-to-right.
(list-buffers-noselect): Caller changed.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Use
string-mark-left-to-right.
(tabulated-list-print): Recenter after moving point.
Diffstat (limited to 'etc/NEWS')
-rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1038,6 +1038,12 @@ of function value which looks like (closure ENV ARGS &rest BODY). *** New function `special-variable-p' to check whether a variable is declared as dynamically bound. +** New function `string-mark-left-to-right' appends a Unicode LRM +(left-to-right mark) character to a string if it terminates in +right-to-left script. This is useful when the buffer has overall +left-to-right paragraph direction and you need to insert a string +whose contents (and directionality) are not known in advance. + ** pre/post-command-hook are not reset to nil upon error. Instead, the offending function is removed. |