diff options
author | Bastien Guerry <bzg@altern.org> | 2012-03-27 12:30:57 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-03-27 12:30:57 +0200 |
commit | acc7a0b2bbb440b89039d56a3ffdd4bb17c9bf47 (patch) | |
tree | 24dd46bfdc890b30afb13ad97aff5d9aa375b788 | |
parent | 410dd12d8976817f70f508c249697172e8c6739b (diff) | |
download | org-mode-acc7a0b2bbb440b89039d56a3ffdd4bb17c9bf47.tar.gz |
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.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 06c9cf4..9e9a51e 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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 (save-excursion (setq table (append org-tag-persistent-alist - (or org-tag-alist (org-get-buffer-tags)) + org-tag-alist + (org-get-buffer-tags) (and org-complete-tags-always-offer-all-agenda-tags (org-global-tags-completion-table |