Update elisp-symbol link definition
* contrib/lisp/org-elisp-symbol.el ("elisp-symbol"): Update to use org-link-set-parameters.
This commit is contained in:
parent
a4abc56db4
commit
c74e89e40b
|
@ -78,8 +78,9 @@
|
|||
|
||||
(require 'org)
|
||||
|
||||
(org-add-link-type "elisp-symbol" 'org-elisp-symbol-open)
|
||||
(add-hook 'org-store-link-functions 'org-elisp-symbol-store-link)
|
||||
(org-link-set-parameters "elisp-symbol"
|
||||
:follow #'org-elisp-symbol-open
|
||||
:store #'org-elisp-symbol-store-link)
|
||||
|
||||
(defun org-elisp-symbol-open (path)
|
||||
"Visit the emacs-lisp elisp-symbol at PATH."
|
||||
|
|
Loading…
Reference in New Issue