summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--nroam-utils.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/nroam-utils.el b/nroam-utils.el
index a4e58fc..8dea64f 100644
--- a/nroam-utils.el
+++ b/nroam-utils.el
@@ -35,7 +35,8 @@
(unless (eq ?\n (char-before (1- (point)))) (insert "\n"))))
(defun nroam--insert-heading (level title &optional tags)
- "Insert a section heading"
+ "Insert TITLE as a section heading with LEVEL stars.
+Add the string or list of strings as TAGS to the heading."
(let ((pos (point))
(stars (make-string level ?*)))
(insert stars " " title "\n")