diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-02-25 14:41:54 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-02-25 14:41:54 +0100 |
commit | 54b42f7e598188031895f6109071b30e22ce9e20 (patch) | |
tree | 2b7f25b5e6fa7a093060990cb0357ba5b8fb9472 | |
parent | 66fbceb727aabbbc3d3ddb738fc621ba03c13855 (diff) | |
download | org-mode-54b42f7e598188031895f6109071b30e22ce9e20.tar.gz |
Tiny refactoring
* lisp/org.el (org-refile-get-targets): Tiny refactoring.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index 44da99d..27dd636 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11672,8 +11672,7 @@ on the system \"/user@host:\"." (regexp-quote heading))) (target (org-link-display-format - (if (not org-refile-use-outline-path) - (org-match-string-no-properties 4) + (if (not org-refile-use-outline-path) heading (mapconcat #'org-protect-slash (append |