Revert "org.el: Fix bug when gathering tag completion options."

This reverts commit e48d67ed6d.

This commit doesn't take care of tag groups.
This commit is contained in:
Bastien Guerry 2012-04-10 18:04:28 +02:00
parent 6c67af5627
commit b05cbf73a0
1 changed files with 1 additions and 4 deletions

View File

@ -13730,10 +13730,7 @@ Returns the new tags string, or nil to not change the current settings."
(append (or buffer-tags (append (or buffer-tags
(with-current-buffer buf (with-current-buffer buf
(mapcar 'car (org-get-buffer-tags)))) (mapcar 'car (org-get-buffer-tags))))
(delq nil (mapcar 'car table)))))
(mapcar (lambda (x)
(if (stringp
(car x)) x)) table))))))
(quit (setq tg ""))) (quit (setq tg "")))
(when (string-match "\\S-" tg) (when (string-match "\\S-" tg)
(add-to-list 'buffer-tags (list tg)) (add-to-list 'buffer-tags (list tg))