aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-03-22 23:44:16 +0100
committerLars Ingebrigtsen2022-03-22 23:44:16 +0100
commit601e0d992ed66196ebcec3ef9c65ee659c092c93 (patch)
tree54b6e5324c34747385b639e1fd736dca61759548
parent5e5bc0c0bcca5e7d33cc5f533d43db31d3856706 (diff)
downloademacs-601e0d992ed66196ebcec3ef9c65ee659c092c93.tar.gz
emacs-601e0d992ed66196ebcec3ef9c65ee659c092c93.zip
Mention highlight-confusing-reorderings in doc string
* src/xdisp.c (Fbidi_find_overridden_directionality): Mention highlight-confusing-reorderings.
-rw-r--r--etc/NEWS1
-rw-r--r--src/xdisp.c5
2 files changed, 5 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cddf0111873..0cf11b741fe 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -450,6 +450,7 @@ the corresponding deleted frame.
450By default, it contains 'C-c <left>' and 'C-c <right>' to browse 450By default, it contains 'C-c <left>' and 'C-c <right>' to browse
451the history of tab window configurations back and forward. 451the history of tab window configurations back and forward.
452 452
453---
453** Better detection of text suspiciously reordered on display. 454** Better detection of text suspiciously reordered on display.
454The function 'bidi-find-overridden-directionality' has been extended 455The function 'bidi-find-overridden-directionality' has been extended
455to detect reordering effects produced by embeddings and isolates 456to detect reordering effects produced by embeddings and isolates
diff --git a/src/xdisp.c b/src/xdisp.c
index 1e766e4a192..62c8f9d4d93 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -25012,7 +25012,10 @@ function `get-char-code-property' for a way to inquire about the
25012directionality is weak or neutral, such as numbers or punctuation 25012directionality is weak or neutral, such as numbers or punctuation
25013characters, can be forced to display in a very different place with 25013characters, can be forced to display in a very different place with
25014respect of its surrounding characters, so as to make the surrounding 25014respect of its surrounding characters, so as to make the surrounding
25015text confuse the user regarding what the text says. */) 25015text confuse the user regarding what the text says.
25016
25017Also see the `highlight-confusing-reorderings' function, which can be
25018useful in similar circumstances as this function. */)
25016 (Lisp_Object from, Lisp_Object to, Lisp_Object object, Lisp_Object base_dir) 25019 (Lisp_Object from, Lisp_Object to, Lisp_Object object, Lisp_Object base_dir)
25017{ 25020{
25018 struct buffer *buf = current_buffer; 25021 struct buffer *buf = current_buffer;