diff options
author | Yuan Fu <casouri@gmail.com> | 2023-01-13 23:31:18 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-01-15 01:11:37 -0800 |
commit | d428d5106642ad0a76d4abfb39d59c5bd80edddb (patch) | |
tree | 2a1eb57bf9dc31c968455581558e11a6ec6118a6 /lisp/emacs-lisp/lisp.el | |
parent | f02998939c6b7eaa5a63137573abe6fd85fc3de1 (diff) | |
download | emacs-d428d5106642ad0a76d4abfb39d59c5bd80edddb.tar.gz emacs-d428d5106642ad0a76d4abfb39d59c5bd80edddb.tar.bz2 emacs-d428d5106642ad0a76d4abfb39d59c5bd80edddb.zip |
Support filling line comments in c-ts-mode
Now we handle line comments separately because for line comments, each
line is an individual node, unlike block comments, where the whole
block comment is a single node. fill-comment-paragraph turns out to
do the job perfectly fine.
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--fill-paragraph): Extract out most parts into
c-ts-mode--fill-block-comment.
(c-ts-mode--fill-block-comment): New extracted function.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions