; Go back to original point when filling comments in c-ts-mode
* lisp/progmodes/c-ts-common.el: (c-ts-common--fill-block-comment): Go to original point.
This commit is contained in:
parent
b8009bbf2d
commit
74e715cb72
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ comment."
|
|||
(when end-marker
|
||||
(goto-char end-marker)
|
||||
(delete-region (point) (+ end-len (point)))
|
||||
(insert (make-string end-len ?\s))))))
|
||||
(insert (make-string end-len ?\s)))
|
||||
(goto-char orig-point))))
|
||||
|
||||
(defun c-ts-common-comment-setup ()
|
||||
"Set up local variables for C-like comment.
|
||||
|
|
Loading…
Add table
Reference in a new issue