Add L and R categories to standard category table, and use them.
* lisp/international/characters.el: Add L and R categories. * lisp/subr.el (bidi-string-mark-left-to-right): Rename from string-mark-left-to-right. Use category search. * lisp/buff-menu.el (Buffer-menu-buffer+size): Callers changed.
This commit is contained in:
parent
156bffbe26
commit
f635daa1e0
6 changed files with 51 additions and 28 deletions
|
@ -283,7 +283,7 @@ of column descriptors."
|
|||
(> (length label) width)
|
||||
(setq label (concat (substring label 0 (- width 3))
|
||||
"...")))
|
||||
(setq label (string-mark-left-to-right label))
|
||||
(setq label (bidi-string-mark-left-to-right label))
|
||||
(if (stringp desc)
|
||||
(insert (propertize label 'help-echo help-echo))
|
||||
(apply 'insert-text-button label (cdr desc)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue