From 68e9270ebe205296ab9868e1f8722a1b572404c3 Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Mon, 8 Mar 2021 18:27:15 +0100 Subject: 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'. --- nroam.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nroam.el') diff --git a/nroam.el b/nroam.el index 11e6149..b0d9951 100644 --- a/nroam.el +++ b/nroam.el @@ -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))) -- cgit v1.2.3-54-g00ecf