summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-01-13 23:31:18 -0800
committerYuan Fu <casouri@gmail.com>2023-01-15 01:11:37 -0800
commitd428d5106642ad0a76d4abfb39d59c5bd80edddb (patch)
tree2a1eb57bf9dc31c968455581558e11a6ec6118a6 /lisp/emacs-lisp/lisp.el
parentf02998939c6b7eaa5a63137573abe6fd85fc3de1 (diff)
downloademacs-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