summaryrefslogtreecommitdiffstatshomepage
path: root/nroam-utils.el
diff options
context:
space:
mode:
authorGravatar Damien Pollet2021-03-14 20:54:01 +0100
committerGravatar Damien Pollet2021-03-14 20:54:01 +0100
commitf2deda6cd7b0a38966262486e06afeb0a47ef336 (patch)
tree7dd75cbb77e900f16a95f2273592b903e2ea6872 /nroam-utils.el
parent6b5fd99e2e3cc40e564e76ed568807d87221e745 (diff)
downloadnroam-f2deda6cd7b0a38966262486e06afeb0a47ef336.tar.gz
nroam-f2deda6cd7b0a38966262486e06afeb0a47ef336.zip
Improve comment of nroam--insert-heading
Diffstat (limited to 'nroam-utils.el')
-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")