summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/warn-make-variable-buffer-local.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2022-12-23 17:12:32 -0800
committerYuan Fu <casouri@gmail.com>2022-12-24 00:33:17 -0800
commit6a43af58802d46555d692d0934d85d22711e0b56 (patch)
treee10719c3f2697211c84abbbcfe1e759e5e4a65c8 /test/lisp/emacs-lisp/bytecomp-resources/warn-make-variable-buffer-local.el
parente492c21e81040b9539139b78f6baf98df17bbaab (diff)
downloademacs-6a43af58802d46555d692d0934d85d22711e0b56.tar.gz
emacs-6a43af58802d46555d692d0934d85d22711e0b56.tar.bz2
emacs-6a43af58802d46555d692d0934d85d22711e0b56.zip
Fix block comment indent and filling for c-ts-mode (bug#59763)
Now indent and filling works like in c-mode. The only noticeable missing piece is that the "*/" is not attached to the last sentence when filling. c-mode does it by replacing whitespaces between the "*/" and the end of the last sentence with xxx, fill it, then change the xxx back. I don't know if we should do that in c-ts-mode's filling. * doc/lispref/modes.texi (Parser-based Indentation): Add new preset. * lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Add new indent rule. (c-ts-mode--fill-paragraph): New function. (c-ts-base-mode): Setup paragraph-start, adaptive-fill, etc. * lisp/treesit.el (treesit-simple-indent-presets): Add new preset.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-make-variable-buffer-local.el')
0 files changed, 0 insertions, 0 deletions