Update vm link definition
* contrib/lisp/org-vm.el ("vm"): Update to use org-link-set-parameters.
This commit is contained in:
parent
3f2a03dad6
commit
02a51cfed3
|
@ -55,9 +55,8 @@
|
|||
(defvar vm-folder-directory)
|
||||
|
||||
;; Install the link type
|
||||
(org-add-link-type "vm" 'org-vm-open)
|
||||
(org-add-link-type "vm-imap" 'org-vm-imap-open)
|
||||
(add-hook 'org-store-link-functions 'org-vm-store-link)
|
||||
(org-link-set-parameters "vm" :follow #'org-vm-open :store #'org-vm-store-link)
|
||||
(org-link-set-parameters "vm-imap" :follow #'org-vm-imap-open)
|
||||
|
||||
;; Implementation
|
||||
(defun org-vm-store-link ()
|
||||
|
|
Loading…
Reference in New Issue