forked from mirrors/org-mode
Update bookmark link definition
* contrib/lisp/org-bookmark.el ("bookmark"): Update to use org-link-set-parameters.
This commit is contained in:
parent
4bddff606b
commit
2a274f0da5
|
@ -47,8 +47,9 @@ Otherwise prompt the user for the right bookmark to use."
|
|||
:group 'org-bookmark
|
||||
:type 'boolean)
|
||||
|
||||
(org-add-link-type "bookmark" 'org-bookmark-open)
|
||||
(add-hook 'org-store-link-functions 'org-bookmark-store-link)
|
||||
(org-link-set-parameters "bookmark"
|
||||
:follow #'org-bookmark-open
|
||||
:store #'org-bookmark-store-link)
|
||||
|
||||
(defun org-bookmark-open (bookmark)
|
||||
"Visit the bookmark BOOKMARK."
|
||||
|
|
Loading…
Reference in a new issue