diff options
author | Nicolas Petton | 2021-03-08 18:27:15 +0100 |
---|---|---|
committer | Nicolas Petton | 2021-03-08 18:27:15 +0100 |
commit | 68e9270ebe205296ab9868e1f8722a1b572404c3 (patch) | |
tree | e07fef0c5808bb90d54477c76d5a24cf59606d58 /nroam.el | |
parent | 7c5042417f893d97f5825773beea8946fc638f35 (diff) | |
download | nroam-68e9270ebe205296ab9868e1f8722a1b572404c3.tar.gz nroam-68e9270ebe205296ab9868e1f8722a1b572404c3.zip |
Fix docstrings
* nroam-backlinks.el (nroam-backlinks-section):
* nroam-unlinked.el (nroam-unlinked-section):
* nroam.el (nroam-setup-maybe):
(nroam-update):
(nroam--org-roam-file-p):
(nroam--update-maybe): Fix docstrings according to `checkdoc'.
Diffstat (limited to 'nroam.el')
-rw-r--r-- | nroam.el | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -88,7 +88,7 @@ Make the region inserted by BODY read-only, and marked with ;;;###autoload (defun nroam-setup-maybe () - "Setup nroam for the current buffer iff an org-roam buffer." + "Setup nroam for the current buffer iff an `org-roam' buffer." (when (nroam--org-roam-file-p) (nroam-mode))) @@ -131,14 +131,14 @@ Make the region inserted by BODY read-only, and marked with ;;;###autoload (defun nroam-update () - "Update org-roam sections for the current buffer." + "Update `org-roam' sections for the current buffer." (interactive) (nroam--setup-markers) (nroam--prune) (nroam--insert)) (defun nroam--org-roam-file-p () - "Return non-nil if the current buffer is an org-roam buffer." + "Return non-nil if the current buffer is an `org-roam' buffer." (org-roam--org-roam-file-p)) (defun nroam--point-at-section-p () @@ -149,7 +149,7 @@ Make the region inserted by BODY read-only, and marked with (<= beg (point) end)))) (defun nroam--update-maybe () - "Update backlinks when in nroam-mode." + "Update backlinks when nroam is enabled." (when nroam-mode (nroam-update))) |