Fixed problem with tags completion in remember tags, as reported by Austin.

This commit is contained in:
Carsten Dominik 2008-02-03 08:57:52 +01:00
parent 17c070e603
commit bc69ea13dd
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
* org.el (org-agenda-get-deadlines): Make sure priorities increase
as the due date approaches and is passed.
(org-remember-apply-template): Fixed problem with tags that
contain "_" or "@".
2008-02-01 Carsten Dominik <dominik@science.uva.nl>

2
org.el
View File

@ -13522,7 +13522,7 @@ to be run from that hook to function properly."
'org-tags-completion-function nil nil nil
'org-tags-history)))
(setq ins (mapconcat 'identity
(org-split-string ins (org-re "[^[:alnum:]]+"))
(org-split-string ins (org-re "[^[:alnum:]_@]+"))
":"))
(when (string-match "\\S-" ins)
(or (equal (char-before) ?:) (insert ":"))