Skip to content

Commit e064045

Browse files
committed
Wrap safe inner.
1 parent 8dfabd6 commit e064045

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docstr-util.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ and GREEDY."
137137
;;
138138

139139
(cl-defun docstr-util-default-format
140-
(&key (fmt-type "{ %s }") (fmt-var "%s :") (param "@param ") (ret "@return "))
140+
(&key (fmt-type "{ %s }") (fmt-var "%s :") (param "@param") (ret "@return"))
141141
"Set default format for document string."
142+
(when param (setq param (concat param " ")))
143+
(when ret (setq ret (concat ret " ")))
142144
(setq-local
143145
docstr-format-type fmt-type
144146
docstr-format-var fmt-var

0 commit comments

Comments
 (0)