Fix `:jump-to-captured' when refiling a capture target
commit1654a5a98ab28fea3b74536e423bfffddfd86531
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 31 Aug 2017 21:14:04 +0000 (31 23:14 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 31 Aug 2017 21:14:04 +0000 (31 23:14 +0200)
tree49e0f6b7aecbf26f37c7437b2e1064ac4e53a983
parent18a48b5861a6d90e020d4d0b47cb15654e85d7a7
Fix `:jump-to-captured' when refiling a capture target

* lisp/org-capture.el (org-capture-refile): Call
  `org-capture-goto-last-stored' at the appropriate time.

* testing/lisp/test-org-capture.el (test-org-capture/refile): Add
  test.

Reported-by: "Raymond Zeitler" <zeitra@yahoo.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00704.html>
lisp/org-capture.el
testing/lisp/test-org-capture.el