mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-26 13:32:51 +00:00
Refile: Don't error for self-refile when only going to a place
Refiling checks if an entry is refiled to itself. Of course, this check is irrelevant when using refile to jump to a location.
This commit is contained in:
parent
aaedf7d01a
commit
d48a1e49e2
|
@ -8137,7 +8137,8 @@ operation has put the subtree."
|
|||
(setq file (nth 1 it)
|
||||
re (nth 2 it)
|
||||
pos (nth 3 it))
|
||||
(if (and (equal (buffer-file-name) file)
|
||||
(if (and (not goto)
|
||||
(equal (buffer-file-name) file)
|
||||
(if regionp
|
||||
(and (>= pos region-start)
|
||||
(<= pos region-end))
|
||||
|
|
Loading…
Reference in a new issue