]> code.delx.au - gnu-emacs/blobdiff - lisp/descr-text.el
Fix for vc-filewise.el unresolved-call glitch.
[gnu-emacs] / lisp / descr-text.el
index 7d5964cb368946be4e33a040956bc844f58fe93a..1dc43e96b7952ffd3e44428758f845ecf6fcd8f7 100644 (file)
@@ -448,6 +448,12 @@ relevant to POS."
        (setq char-description
              (concat char-description
                      (propertize (string ?\x202c ?\x200e) 'invisible t))))
+       ;; Append a PDI character to directional isolate initiators, to
+       ;; prevent potential messup of the following numerical text
+       ((memq char '(?\x2066 ?\x2067 ?\x2068))
+       (setq char-description
+             (concat char-description
+                     (propertize (string ?\x2069) 'invisible t))))
        ;; Append a LRM character to any strong character to avoid
        ;; messing up the numerical codepoint.
        ((memq (get-char-code-property char 'bidi-class) '(R AL))