summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Gustav Wikström2021-02-23 14:37:45 +0100
committerGravatar Gustav Wikström2021-02-23 14:37:45 +0100
commit3a0d7a3696f3bebc4fe117e18d94068443aaca83 (patch)
tree9b451e0e3bcc02fb7d1c772bf3113865ef1241c9
parent4a9159db02829b51e9a7e21bc0f85f734c8e1b64 (diff)
downloadnroam-3a0d7a3696f3bebc4fe117e18d94068443aaca83.tar.gz
nroam-3a0d7a3696f3bebc4fe117e18d94068443aaca83.zip
Add docstring and empty line
* nroam.el (nroam--init-work-buffer): Add docstring.
-rw-r--r--nroam.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/nroam.el b/nroam.el
index 74fcbbb..5120905 100644
--- a/nroam.el
+++ b/nroam.el
@@ -45,6 +45,7 @@
(defvar-local nroam-end-marker nil)
(defvar nroam-work-buffer " nroam-work")
+
(defmacro with-nroam-markers (&rest body)
"Evaluate BODY.
Make the region inserted by BODY read-only, and marked with
@@ -78,6 +79,7 @@ Make the region inserted by BODY read-only, and marked with
(nroam--prune-backlinks)))
(defun nroam--init-work-buffer ()
+ "Initiate nroam hidden buffer."
(get-buffer-create nroam-work-buffer t)
(with-current-buffer nroam-work-buffer
(delay-mode-hooks