org.el: Include `org-tag-alist' in the list for tag completions.
* org.el (org-set-tags): Include `org-tag-alist' in the list of possible completions, even when there are tags defined in the buffer. Thanks to Mike McLean for reporting this.
This commit is contained in:
parent
410dd12d89
commit
acc7a0b2bb
|
@ -13389,7 +13389,8 @@ With prefix ARG, realign all tags in headings in the current buffer."
|
||||||
;; Get a new set of tags from the user
|
;; Get a new set of tags from the user
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(setq table (append org-tag-persistent-alist
|
(setq table (append org-tag-persistent-alist
|
||||||
(or org-tag-alist (org-get-buffer-tags))
|
org-tag-alist
|
||||||
|
(org-get-buffer-tags)
|
||||||
(and
|
(and
|
||||||
org-complete-tags-always-offer-all-agenda-tags
|
org-complete-tags-always-offer-all-agenda-tags
|
||||||
(org-global-tags-completion-table
|
(org-global-tags-completion-table
|
||||||
|
|
Loading…
Reference in New Issue