From d913447939baa0925eb4aeb719c31e6a84916e0f Mon Sep 17 00:00:00 2001 From: Leo Vivier Date: Tue, 10 Nov 2020 18:04:59 +0100 Subject: [PATCH] (fix): Fix command signature (#1247) --- org-roam-dailies.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-dailies.el b/org-roam-dailies.el index 6727467..40eb013 100644 --- a/org-roam-dailies.el +++ b/org-roam-dailies.el @@ -273,7 +273,7 @@ creating an entry." (run-hooks 'org-roam-dailies-find-file-hook) (message "Showing note for %s" time-str)))) -(defun org-roam-dailies-find-date (prefer-future) +(defun org-roam-dailies-find-date (&optional prefer-future) "Find the daily-note for a date using the calendar, creating it if necessary. Prefer past dates, unless PREFER-FUTURE is non-nil."