summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-03-27 12:30:57 +0200
committerBastien Guerry <bzg@altern.org>2012-03-27 12:30:57 +0200
commitacc7a0b2bbb440b89039d56a3ffdd4bb17c9bf47 (patch)
tree24dd46bfdc890b30afb13ad97aff5d9aa375b788
parent410dd12d8976817f70f508c249697172e8c6739b (diff)
downloadorg-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.el3
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