diff --git a/doc/org-roam.org b/doc/org-roam.org index 9dfe4e4..228ae48 100644 --- a/doc/org-roam.org +++ b/doc/org-roam.org @@ -1300,7 +1300,7 @@ There are variants of those commands for ~-yesterday~ and ~-tomorrow~: - Function: ~org-roam-dailies-capture-yesterday~ n &optional goto - Create an entry in the daily note for yesteday. + Create an entry in the daily note for yesterday. With numeric argument ~n~, use the daily note ~n~ days in the past. diff --git a/doc/org-roam.texi b/doc/org-roam.texi index c5cc576..d4d2b9e 100644 --- a/doc/org-roam.texi +++ b/doc/org-roam.texi @@ -1826,7 +1826,7 @@ There are variants of those commands for @code{-yesterday} and @code{-tomorrow}: @defun @code{org-roam-dailies-capture-yesterday} n &optional goto -Create an entry in the daily note for yesteday. +Create an entry in the daily note for yesterday. With numeric argument @code{n}, use the daily note @code{n} days in the past. @end defun diff --git a/org-roam-mode.el b/org-roam-mode.el index 046428e..65ab0c9 100644 --- a/org-roam-mode.el +++ b/org-roam-mode.el @@ -339,7 +339,7 @@ Has no effect when there's no `org-roam-node-at-point'." (add-hook 'kill-buffer-hook #'org-roam-buffer--persistent-cleanup-h nil t))))) (defun org-roam-buffer--persistent-cleanup-h () - "Clean-up global state thats dedicated for the persistent `org-roam-buffer'." + "Clean-up global state that's dedicated for the persistent `org-roam-buffer'." (setq-default org-roam-buffer-current-node nil org-roam-buffer-current-directory nil))