Revert "org.el: Include tags from `org-tag-alist' when completing with the TAB key."

This reverts commit 647396464d.
This commit is contained in:
Bastien Guerry 2012-04-10 18:20:04 +02:00
parent 1f80206166
commit d4ddcbb8b3
1 changed files with 3 additions and 4 deletions

View File

@ -13726,10 +13726,9 @@ Returns the new tags string, or nil to not change the current settings."
(condition-case nil
(setq tg (org-icompleting-read
"Tag: "
(append (or buffer-tags
(or buffer-tags
(with-current-buffer buf
(org-get-buffer-tags)))
(mapcar 'car table))))
(org-get-buffer-tags)))))
(quit (setq tg "")))
(when (string-match "\\S-" tg)
(add-to-list 'buffer-tags (list tg))