0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 01:46:27 +00:00

`org-get-refile-targets': don't include [/] cookies in targets.

This was requested by Marcel van der Boom <marcel@hsdev.com>.
This commit is contained in:
Bastien Guerry 2010-09-03 01:47:28 +02:00
parent fea907285c
commit 0c67513e7d

View file

@ -9899,6 +9899,7 @@ on the system \"/user@host:\"."
(setq level (org-reduced-level
(- (match-end 1) (match-beginning 1)))
txt (org-link-display-format (match-string 4))
txt (replace-regexp-in-string " *\[[0-9]+/[0-9]+\]$" "" txt)
re (format org-complex-heading-regexp-format
(regexp-quote (match-string 4))))
(when org-refile-use-outline-path