From 2c33442ae2c69c46d61e3c438504ab5061066ec2 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 24 May 2014 11:52:15 +0200 Subject: [PATCH] org.el (org-refile-check-position): Remove unused user error * org.el (org-refile-check-position): Remove unused user error. --- lisp/org.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index d50514263..aea8217be 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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) -- 2.11.4.GIT