nit: fix docstrings

This commit is contained in:
Liam Hupfer 2023-09-02 11:44:48 -05:00
parent 7a75030458
commit 9c2d50d97e
2 changed files with 4 additions and 4 deletions

View file

@ -15,9 +15,9 @@ PRED can either be a regexp string or a major mode symbol. PLIST may contain
these properties:
:when FUNCTION
Provides a secondary predicate. This function takes no arguments and is
executed from within the target buffer. If it returns nil, this rule will be
skipped over.
Provides a secondary predicate. This function takes the filename as an
argument and is executed from within the target buffer. If it returns nil,
this rule will be skipped over.
:trigger STRING|FUNCTION
If a string, this is the yasnippet trigger keyword used to trigger the
target snippet.

View file

@ -84,7 +84,7 @@ If it is an absolute path return `+org-capture-todo-file' verbatim."
;;;###autoload
(defun +org-capture-notes-file ()
"Expand `+org-capture-notes-file' from `org-directory'.
If it is an absolute path return `+org-capture-todo-file' verbatim."
If it is an absolute path return `+org-capture-notes-file' verbatim."
(expand-file-name +org-capture-notes-file org-directory))
(defun +org--capture-local-root (path)