org.el (org-refile-check-position): Remove unused user error

* org.el (org-refile-check-position): Remove unused user error.
This commit is contained in:
Bastien Guerry 2014-05-24 11:52:15 +02:00
parent 253b60cdaf
commit 2c33442ae2
1 changed files with 1 additions and 3 deletions

View File

@ -11936,9 +11936,7 @@ 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"))
(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)