mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-02-02 20:55:13 +00:00
Enforce `org-bookmark-names-plist'
* lisp/org-capture.el (org-capture-goto-last-stored): Use `org-bookmark-names-plist'. * lisp/org.el (org-refile-goto-last-stored): Use `org-bookmark-names-plist'.
This commit is contained in:
parent
ec33c0cf9e
commit
367780d133
@ -811,7 +811,8 @@ already gone. Any prefix argument will be passed to the refile command."
|
||||
"Go to the location where the last capture note was stored."
|
||||
(interactive)
|
||||
(org-goto-marker-or-bmk org-capture-last-stored-marker
|
||||
"org-capture-last-stored")
|
||||
(plist-get org-bookmark-names-plist
|
||||
:last-capture))
|
||||
(message "This is the last note stored by a capture process"))
|
||||
|
||||
;;; Supporting functions for handling the process
|
||||
|
@ -11746,7 +11746,7 @@ prefix argument (`C-u C-u C-u C-c C-w')."
|
||||
(defun org-refile-goto-last-stored ()
|
||||
"Go to the location where the last refile was stored."
|
||||
(interactive)
|
||||
(bookmark-jump "org-refile-last-stored")
|
||||
(bookmark-jump (plist-get org-bookmark-names-plist :last-refile))
|
||||
(message "This is the location of the last refile"))
|
||||
|
||||
(defun org-refile--get-location (refloc tbl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user