Browse Source

Merge branch 'maint'

Nicolas Goaziou 9 years ago
parent
commit
5660047846
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/org.el

+ 1 - 2
lisp/org.el

@@ -11558,8 +11558,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