mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Make denote-link-ol-store accept any arguments passed to it
This is due to how org-store-link may use the function internally. Thanks to kalisduli for reporting the problem in issue 552: <https://github.com/protesilaos/denote/issues/552>.
This commit is contained in:
parent
212a1b3c17
commit
20005e666a
|
|
@ -5409,7 +5409,7 @@ create a new one."
|
|||
(format "%s::%s" file-text heading-text))
|
||||
|
||||
;;;###autoload
|
||||
(defun denote-link-ol-store ()
|
||||
(defun denote-link-ol-store (&rest _)
|
||||
"Handler for `org-store-link' adding support for denote: links.
|
||||
Also see the user option `denote-org-store-link-to-heading'."
|
||||
(when-let* ((file (buffer-file-name))
|
||||
|
|
|
|||
Loading…
Reference in a new issue