mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 12:31:25 +00:00
More tests for fill-paragraph-handle-comment.erts
* test/lisp/textmodes/fill-resources/fill-paragraph-handle-comment.erts: Add more tests for current comment lines (bug#80449).
This commit is contained in:
parent
cc9f35c54b
commit
271cc5c76c
1 changed files with 32 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Point-Char: |
|
||||
|
||||
Name: fill-paragraph-handle-comment - non-comment line before comment line
|
||||
Name: fill-paragraph-handle-comment - current non-comment line before comment line
|
||||
Code:
|
||||
(lambda ()
|
||||
(setq-local comment-start "# ")
|
||||
|
|
@ -21,7 +21,22 @@ not part of the comment
|
|||
|
||||
=-=-=
|
||||
|
||||
Name: fill-paragraph-handle-comment - non-comment line after comment line
|
||||
Name: fill-paragraph-handle-comment - non-comment line before current comment line
|
||||
|
||||
=-=
|
||||
|
||||
this is not part of the comment this is not part of the comment
|
||||
# this is a comment this is a comment this is a comment|
|
||||
|
||||
=-=
|
||||
|
||||
this is not part of the comment this is not part of the comment
|
||||
# this is a comment this is a comment this
|
||||
# is a comment
|
||||
|
||||
=-=-=
|
||||
|
||||
Name: fill-paragraph-handle-comment - comment line before current non-comment line
|
||||
|
||||
=-=
|
||||
|
||||
|
|
@ -35,3 +50,18 @@ this is not part of the comment this is
|
|||
not part of the comment
|
||||
|
||||
=-=-=
|
||||
|
||||
Name: fill-paragraph-handle-comment - current comment line before non-comment line
|
||||
|
||||
=-=
|
||||
|
||||
# this is a comment this is a comment this is a comment|
|
||||
this is not part of the comment this is not part of the comment
|
||||
|
||||
=-=
|
||||
|
||||
# this is a comment this is a comment this
|
||||
# is a comment
|
||||
this is not part of the comment this is not part of the comment
|
||||
|
||||
=-=-=
|
||||
|
|
|
|||
Loading…
Reference in a new issue