|
@@ -8275,7 +8275,9 @@ operation has put the subtree."
|
|
|
(filename (and cfn (expand-file-name cfn)))
|
|
|
(tbl (mapcar
|
|
|
(lambda (x)
|
|
|
- (if (not (equal filename (nth 1 x)))
|
|
|
+ (if (and (not (member org-refile-use-outline-path
|
|
|
+ '(file full-file-path)))
|
|
|
+ (not (equal filename (nth 1 x))))
|
|
|
(cons (concat (car x) extra " ("
|
|
|
(file-name-nondirectory (nth 1 x)) ")")
|
|
|
(cdr x))
|