0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-05 23:43:06 +00:00

org.el: Don't add a column when there is only one tag offered for completion.

* org.el (org-set-tags): Don't add a column when there is only
one tag offered for completion.
This commit is contained in:
Bastien Guerry 2012-03-27 12:10:14 +02:00
parent 647396464d
commit d069301060

View file

@ -13407,7 +13407,7 @@ With prefix ARG, realign all tags in headings in the current buffer."
current-tags inherited-tags table
(if org-fast-tag-selection-include-todo
org-todo-key-alist))
(let ((org-add-colon-after-tag-completion t))
(let ((org-add-colon-after-tag-completion (< 1 (length table))))
(org-trim
(org-icompleting-read "Tags: "
'org-tags-completion-function