Use a better regexp to find a refile target headline
commit3082ea9a30bb9782f233e01c1b312fc8b1651c5e
authorCarsten Dominik <carsten.dominik@gmail.com>
Mon, 16 Aug 2010 17:27:38 +0000 (16 19:27 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Mon, 16 Aug 2010 17:27:38 +0000 (16 19:27 +0200)
tree32c77235b7ed9def31e67252efa4aca6a3640db7
parent56cf6ad42de9f00fe90cfb5230468872e679c163
Use a better regexp to find a refile target headline

* lisp/org.el (org-complex-heading-regexp-format): Document the variable.
(org-get-refile-targets): Use `org-complex-heading-regexp-format' to
make the regular expression for matching the headline.

Now we use the format for the complex heading regexp, which means that
Changing the TODO state, level, priority, or tags of a heading will
still allow the heading to be matched by the regexp.
lisp/org.el