[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 601e0d992e: Mention highlight-confusing-reorderings in doc string
From: |
Lars Ingebrigtsen |
Subject: |
master 601e0d992e: Mention highlight-confusing-reorderings in doc string |
Date: |
Tue, 22 Mar 2022 18:44:36 -0400 (EDT) |
branch: master
commit 601e0d992ed66196ebcec3ef9c65ee659c092c93
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Mention highlight-confusing-reorderings in doc string
* src/xdisp.c (Fbidi_find_overridden_directionality): Mention
highlight-confusing-reorderings.
---
etc/NEWS | 1 +
src/xdisp.c | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/etc/NEWS b/etc/NEWS
index cddf011187..0cf11b741f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -450,6 +450,7 @@ the corresponding deleted frame.
By default, it contains 'C-c <left>' and 'C-c <right>' to browse
the history of tab window configurations back and forward.
+---
** Better detection of text suspiciously reordered on display.
The function 'bidi-find-overridden-directionality' has been extended
to detect reordering effects produced by embeddings and isolates
diff --git a/src/xdisp.c b/src/xdisp.c
index 1e766e4a19..62c8f9d4d9 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
directionality is weak or neutral, such as numbers or punctuation
characters, can be forced to display in a very different place with
respect of its surrounding characters, so as to make the surrounding
-text confuse the user regarding what the text says. */)
+text confuse the user regarding what the text says.
+
+Also see the `highlight-confusing-reorderings' function, which can be
+useful in similar circumstances as this function. */)
(Lisp_Object from, Lisp_Object to, Lisp_Object object, Lisp_Object base_dir)
{
struct buffer *buf = current_buffer;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 601e0d992e: Mention highlight-confusing-reorderings in doc string,
Lars Ingebrigtsen <=