forked from mirrors/org-mode
org.el: Include tags from `org-tag-alist' when completing with the TAB key.
* org.el (org-fast-tag-selection): Include tags from `org-tag-alist' when completing with the TAB key. Thanks to Mike McLean for reporting this problem.
This commit is contained in:
parent
f2598e41ac
commit
647396464d
|
@ -13691,9 +13691,10 @@ Returns the new tags string, or nil to not change the current settings."
|
|||
(condition-case nil
|
||||
(setq tg (org-icompleting-read
|
||||
"Tag: "
|
||||
(or buffer-tags
|
||||
(with-current-buffer buf
|
||||
(org-get-buffer-tags)))))
|
||||
(append (or buffer-tags
|
||||
(with-current-buffer buf
|
||||
(org-get-buffer-tags)))
|
||||
(mapcar 'car table))))
|
||||
(quit (setq tg "")))
|
||||
(when (string-match "\\S-" tg)
|
||||
(add-to-list 'buffer-tags (list tg))
|
||||
|
|
Loading…
Reference in a new issue