org.el (org-refile-check-position): Enhance error message
* org.el (org-refile-check-position): Enhance error message.
This commit is contained in:
parent
6a39355eee
commit
6f6d90a363
|
@ -11755,7 +11755,9 @@ this is used for the GOTO interface."
|
|||
(pos (nth 3 refile-pointer))
|
||||
buffer)
|
||||
(if (and (not (markerp pos)) (not file))
|
||||
(if file
|
||||
(user-error "Please save the buffer to a file before refiling")
|
||||
(user-error "Please indicate a target file in the refile path"))
|
||||
(when (org-string-nw-p re)
|
||||
(setq buffer (if (markerp pos)
|
||||
(marker-buffer pos)
|
||||
|
|
Loading…
Reference in New Issue