aboutsummaryrefslogtreecommitdiffstats
path: root/etc/NEWS
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2011-08-10 15:03:56 -0400
committerChong Yidong <[email protected]>2011-08-10 15:03:56 -0400
commit3e26a4a28c6ad382f3bea07a1a6e0175ed8acdc6 (patch)
treee5b61892f81417d3af99a4b28e2153e55b0f8b7d /etc/NEWS
parentac8cf6e698c4612dc3ed195dbf1348db67f59fe5 (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/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6a1bb6c1c5..6f8c125f7f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.