Fix fast tag selection menu alignment
* lisp/org.el (org-fast-tag-selection): Avoid lines with just a closing delimiter. Also correctly align grouped and ungrouped tags.
This commit is contained in:
parent
8e9b8dc2eb
commit
0b148ba706
|
@ -14619,8 +14619,9 @@ Returns the new tags string, or nil to not change the current settings."
|
|||
(- fwidth 4 (length tg)) ?\ ))
|
||||
(push (cons tg c) ntable)
|
||||
(when (= (cl-incf cnt) ncol)
|
||||
(unless (memq (caar tbl) '(:endgroup :endgrouptag))
|
||||
(insert "\n")
|
||||
(when (or ingroup intaggroup) (insert " "))
|
||||
(when (or ingroup intaggroup) (insert " ")))
|
||||
(setq cnt 0)))))
|
||||
(setq ntable (nreverse ntable))
|
||||
(insert "\n")
|
||||
|
|
Loading…
Reference in New Issue