0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 22:37:47 +00:00

org-agenda: Align multibyte tags properly

* lisp/org-agenda.el (org-agenda-align-tags): Let org-agenda align
  multibyte tags properly.
This commit is contained in:
Feng Shu 2019-02-28 21:24:26 +08:00 committed by Nicolas Goaziou
parent 69c211d154
commit 8a2f4a21a9

View file

@ -9022,7 +9022,7 @@ current line."
(if (memq 'org-tag prop)
prop
(cons 'org-tag prop))))))
(setq l (- (match-end 1) (match-beginning 1))
(setq l (string-width (match-string 1))
c (if (< org-agenda-tags-column 0)
(- (abs org-agenda-tags-column) l)
org-agenda-tags-column))