From acc7a0b2bbb440b89039d56a3ffdd4bb17c9bf47 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Tue, 27 Mar 2012 12:30:57 +0200 Subject: [PATCH] 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. --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 06c9cf4ca..9e9a51e78 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