summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-04-19 01:37:50 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-04-19 01:37:50 +0200
commit7894129841baa4fabadb590faa986049f4831256 (patch)
tree1a38e70eecbc6c1cd4d555589d35273e83796afd
parent2a49038fd6d3729fedcef35e5d739cc680719fea (diff)
parent77b4fad528076aeeb3afc18da4872758924a2962 (diff)
downloadorg-mode-7894129841baa4fabadb590faa986049f4831256.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 6734bcc..29224f2 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -14960,13 +14960,13 @@ When JUST-ALIGN is non-nil, only align tags."
(let* ((table
(setq
org-last-tags-completion-table
- (append
- org-tag-persistent-alist
- (or org-current-tag-alist (org-get-buffer-tags))
- (and
- org-complete-tags-always-offer-all-agenda-tags
- (org-global-tags-completion-table
- (org-agenda-files))))))
+ (delete-dups
+ (append
+ (or org-current-tag-alist (org-get-buffer-tags))
+ (and
+ org-complete-tags-always-offer-all-agenda-tags
+ (org-global-tags-completion-table
+ (org-agenda-files)))))))
(current-tags (org-split-string current ":"))
(inherited-tags
(nreverse (nthcdr (length current-tags)