diff options
author | Damien Pollet | 2021-03-14 20:54:01 +0100 |
---|---|---|
committer | Damien Pollet | 2021-03-14 20:54:01 +0100 |
commit | f2deda6cd7b0a38966262486e06afeb0a47ef336 (patch) | |
tree | 7dd75cbb77e900f16a95f2273592b903e2ea6872 | |
parent | 6b5fd99e2e3cc40e564e76ed568807d87221e745 (diff) | |
download | nroam-f2deda6cd7b0a38966262486e06afeb0a47ef336.tar.gz nroam-f2deda6cd7b0a38966262486e06afeb0a47ef336.zip |
Improve comment of nroam--insert-heading
-rw-r--r-- | nroam-utils.el | 3 |
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") |