File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -254,15 +254,15 @@ Argument POSTFIX is string behind of return document string."
254254 (docstr-util-insert-args (docstr-form-return return-type-str " " docstr-desc-return))
255255 (when postfix (insert postfix))))
256256
257- (defun docstr-writers-after (start &optional preserve )
257+ (defun docstr-writers-after (start &optional ind-r ind-l restore-pt )
258258 " Do stuff after document string insertion.
259259
260260Argument START is the starting point ot the insertion.
261261
262- If optional argument PRESERVE is non-nil, don't go back to starting position."
263- (indent-region start (point ))
264- (indent-for-tab-command )
265- (unless preserve (goto-char start)))
262+ If optional argument RESTORE-PT is non-nil, go back to starting position."
263+ (when ind-r ( indent-region start (point ) ))
264+ (when ind-l ( indent-for-tab-command ) )
265+ (when restore-pt (goto-char start)))
266266
267267; ;
268268; ; (@* "Configurations" )
You can’t perform that action at this time.
0 commit comments