branch: externals/denote-journal commit a68740cb83b3ccc3fc4350560474a98c09443f2d Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Remove faulty extra argument from remove-hook in denote-journal-calendar-mode --- denote-journal.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote-journal.el b/denote-journal.el index 7fac071a4f..dc3e0cd250 100644 --- a/denote-journal.el +++ b/denote-journal.el @@ -390,7 +390,7 @@ Add the function `denote-journal-calendar-mode' to the (dolist (hook '(calendar-today-visible-hook calendar-today-invisible-hook)) (add-hook hook #'denote-journal-calendar-mark-dates nil :local)) (dolist (hook '(calendar-today-visible-hook calendar-today-invisible-hook)) - (remove-hook hook #'denote-journal-calendar-mark-dates nil :local)))) + (remove-hook hook #'denote-journal-calendar-mark-dates :local)))) (provide 'denote-journal) ;;; denote-journal.el ends here