1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +00:00

Revert "org.el (org-fast-tag-selection): Fix an bug when listing tags for completion."

This reverts commit dca5af369c.
This commit is contained in:
Bastien Guerry 2012-04-10 18:10:30 +02:00
parent b05cbf73a0
commit 1f80206166

View File

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