emacs/lisp/textmodes
Juri Linkov 2e70b88623 Fix fill-paragraph combining text with preceding comment
* lisp/textmodes/fill.el (fill-paragraph): Handle the case
when a non-comment line follows a comment line with
non-nil 'fill-paragraph-handle-comment' (bug#80449).
Skip such a comment line before filling a non-comment line.

* test/lisp/textmodes/fill-tests.el
(fill-test-fill-paragraph-handle-comment): Add new test.

* test/lisp/textmodes/fill-resources/fill-paragraph-handle-comment.erts:
New file.
2026-05-27 18:32:40 +03:00
..
artist.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
bib-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
bibtex-style.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
bibtex.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
conf-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
css-mode.el Add treesit-ready-p check back to tree-sitter major modes (bug#80909) 2026-05-23 22:10:34 -07:00
dns-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
emacs-authors-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
emacs-news-mode.el Fix 'emacs-news-find-heading' 2026-03-09 19:14:51 +02:00
enriched.el Better support for anonymous faces in Enriched Text mode 2026-03-28 13:13:19 +03:00
fill.el Fix fill-paragraph combining text with preceding comment 2026-05-27 18:32:40 +03:00
flyspell.el ; Fix last change 2026-03-14 12:46:19 +02:00
glyphless-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
html-ts-mode.el Fix broken FOO-mode-indent-offset convention 2026-02-22 18:48:57 -05:00
ispell.el ; Improve docs for last change. 2026-01-14 18:48:56 +00:00
less-css-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
makeinfo.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
markdown-ts-mode-x.el Use 'read-multiple-choice' in 'markdown-ts-mode' (bug#81027) 2026-05-14 11:05:30 +01:00
markdown-ts-mode.el markdown-ts-mode: Don't enable unconditionally by default 2026-05-23 16:25:09 +01:00
mhtml-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mhtml-ts-mode.el Add treesit-ready-p check back to tree-sitter major modes (bug#80909) 2026-05-23 22:10:34 -07:00
nroff-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
page-ext.el ; Fix last change 2026-02-14 13:59:26 +02:00
page.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
paragraphs.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
picture.el Support cons cell for 'line-spacing' 2026-01-24 13:32:44 +02:00
pixel-fill.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
po.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
refbib.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
refer.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
refill.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
reftex-auc.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
reftex-cite.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
reftex-dcr.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
reftex-global.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
reftex-index.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
reftex-parse.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
reftex-ref.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
reftex-sel.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
reftex-toc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
reftex-vars.el ; Don't mark some symbols as links 2026-01-01 16:12:43 +01:00
reftex.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
remember.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rst.el Rename 'any' to 'member-if' and deprecate 'cl-member-if' 2026-03-04 14:43:05 +00:00
sgml-mode.el Fix 'sgml-parse-tag-backward' to handle tags in comments 2026-05-11 23:43:27 +02:00
string-edit.el ; (string-edit-minor-mode): Fix mode line lighter. 2026-04-22 09:33:59 +02:00
table.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tex-mode.el Use single-arg form of signal to re-throw an error 2026-03-10 10:48:22 -04:00
texinfmt.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
texinfo.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
texnfo-upd.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
text-mode.el New minor mode center-line-mode 2026-01-17 14:33:35 +02:00
tildify.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
toml-ts-mode.el Add treesit-ready-p check back to tree-sitter major modes (bug#80909) 2026-05-23 22:10:34 -07:00
two-column.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
underline.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
word-wrap-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
yaml-ts-mode.el Add treesit-ready-p check back to tree-sitter major modes (bug#80909) 2026-05-23 22:10:34 -07:00