File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ See function `docstr--get-search-string' description for argument TYPE."
229229 (docstr--generic-search-string type " {" ))
230230
231231(defun docstr--doc-valid-p ()
232- " "
232+ " Return non-nil if current able to insert document string. "
233233 (and docstr-mode (docstr-util-comment-block-p)))
234234
235235(defun docstr--trigger-return ()
@@ -244,7 +244,6 @@ See function `docstr--get-search-string' description for argument TYPE."
244244
245245(defun docstr--trigger-csharp ()
246246 " Trigger document string inside C#."
247- (interactive )
248247 (when (and (docstr--doc-valid-p) (looking-back " ///" 3 ))
249248 (save-excursion
250249 (insert " <summary>\n " )
@@ -256,7 +255,6 @@ See function `docstr--get-search-string' description for argument TYPE."
256255
257256(defun docstr--trigger-golang ()
258257 " Trigger document string inside Golang."
259- (interactive )
260258 (when (and (docstr--doc-valid-p) (looking-back " //" 2 ))
261259 (docstr--insert-doc-string (docstr--c-style-search-string 1 ))))
262260
You can’t perform that action at this time.
0 commit comments