From 0c67513e7dbc260ba24552ae71d4cac40e5cec2a Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 3 Sep 2010 01:47:28 +0200 Subject: [PATCH] `org-get-refile-targets': don't include [/] cookies in targets. This was requested by Marcel van der Boom . --- lisp/org.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org.el b/lisp/org.el index fc44fc767..d07c41dcf 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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