Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a461b8e0
Commit
a461b8e0
authored
Oct 26, 1994
by
Richard M. Stallman
Browse files
(fill-individual-paragraphs): Avoid infinite loop
if mailp is set and no message was yanked.
parent
ed0cae05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/textmodes/fill.el
lisp/textmodes/fill.el
+4
-1
No files found.
lisp/textmodes/fill.el
View file @
a461b8e0
...
@@ -358,8 +358,11 @@ MAIL-FLAG for a mail message, i. e. don't fill header lines."
...
@@ -358,8 +358,11 @@ MAIL-FLAG for a mail message, i. e. don't fill header lines."
(
save-excursion
(
save-excursion
(
goto-char
min
)
(
goto-char
min
)
(
beginning-of-line
)
(
beginning-of-line
)
(
narrow-to-region
(
point
)
max
)
(
if
mailp
(
if
mailp
(
while
(
or
(
looking-at
"[ \t]*[^ \t\n]*:"
)
(
looking-at
"[ \t]*$"
))
(
while
(
and
(
not
(
eobp
))
(
or
(
looking-at
"[ \t]*[^ \t\n]*:"
)
(
looking-at
"[ \t]*$"
)))
(
if
(
looking-at
"[ \t]*[^ \t\n]*:"
)
(
if
(
looking-at
"[ \t]*[^ \t\n]*:"
)
(
search-forward
"\n\n"
nil
'move
)
(
search-forward
"\n\n"
nil
'move
)
(
forward-line
1
))))
(
forward-line
1
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment