Skip to content

Commit

Permalink
(int) optional _entry arg in orb-citar-edit-note
Browse files Browse the repository at this point in the history
to maintain compatibility with different Citar versions
  • Loading branch information
myshevchuk committed Jun 26, 2022
1 parent efdac6f commit 201262a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org-roam-bibtex.el
Original file line number Diff line number Diff line change
Expand Up @@ -1087,11 +1087,11 @@ NOTE: This function is no longer needed for Org-ref v3."
(orb-edit-note citekey))))

;;;###autoload
(defun orb-citar-edit-note (citekey _entry)
(defun orb-citar-edit-note (citekey &optional _entry)
"Open an Org-roam note associated with the CITEKEY or create a new one.
This is a wrapper function around `orb-edit-note' meant to be used with
`citar-file-open-note-function'.
Argument ENTRY is ignored."
Optional argument ENTRY is ignored."
(orb-edit-note citekey))

;;;###autoload
Expand Down

0 comments on commit 201262a

Please sign in to comment.