3535(declare-function docstr-get-prefix " ext:docstr.el" )
3636
3737(defcustom docstr-key-support nil
38- " If non-nil, use key support to fulfill document string triggerations'
39- conditions."
38+ " If non-nil, use key support to fulfill document triggerations' conditions."
4039 :type 'boolean
4140 :group 'docstr )
4241
@@ -92,7 +91,9 @@ conditions."
9291(defun docstr-key-javadoc-asterik (fnc &rest args )
9392 " Asterik key for Javadoc like document string.
9493
95- This fulfill condition, /* with */ into a pair."
94+ This fulfill condition, /* with */ into a pair.
95+
96+ Arugments FNC and ARGS are for advice around."
9697 (apply fnc args)
9798 (when (docstr-key-javadoc-like-p)
9899 (save-excursion
@@ -104,7 +105,9 @@ This fulfill condition, /* with */ into a pair."
104105 " Return key for C like programming languages.
105106
106107This function will help insert the corresponding prefix on every line of the
107- document string."
108+ document string.
109+
110+ Arugments FNC and ARGS are for advice around."
108111 (if (not (docstr-key-javadoc-like-p)) (apply fnc args)
109112 (if (not (docstr-util-comment-block-p)) (apply fnc args)
110113 (let ((new-doc-p (docstr-util-between-pair-p " /*" " */" )))
@@ -141,7 +144,9 @@ This function has two features.
141144-- !The prefix inserted after hitting retun!
142145```
143146
144- P.S. Prefix will matches the same as your document style selection."
147+ P.S. Prefix will matches the same as your document style selection.
148+
149+ Arugments FNC and ARGS are for advice around."
145150 (cond ((and (eq major-mode 'lua-mode ) (docstr-util-comment-block-p))
146151 (let ((new-doc-p (docstr-util-between-pair-p " --[[" " ]]" )))
147152 (apply fnc args)
@@ -153,8 +158,10 @@ P.S. Prefix will matches the same as your document style selection."
153158(defun docstr-key-sharp-return (fnc &rest args )
154159 " Return key for programming languages that can use # as document.
155160
156- This is the same as function `docstr-key-lua-return' feature Pt. 2
157- but instead of inserting two `-`, this will insert a `#` instead."
161+ This is the same as function `docstr-key-lua-return' feature Pt 2
162+ but instead of inserting two `-`, this will insert a `#` instead.
163+
164+ Arugments FNC and ARGS are for advice around."
158165 (cond ((and (memq major-mode docstr-key-sharp-doc-modes) (docstr-util-comment-block-p))
159166 (let ((start-comment (docstr-util-start-comment-symbol)))
160167 (apply fnc args)
0 commit comments