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
4455f41c
Commit
4455f41c
authored
Apr 10, 1995
by
Richard M. Stallman
Browse files
(fill-region-as-paragraph): Undo previous change.
Instead, set JUSTIFY to `full' in the interactive spec.
parent
3f005256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
lisp/textmodes/fill.el
lisp/textmodes/fill.el
+4
-3
No files found.
lisp/textmodes/fill.el
View file @
4455f41c
...
...
@@ -134,7 +134,8 @@ between words canonical before filling.
If `sentence-end-double-space' is non-nil, then period followed by one
space does not end a sentence, so don't break a line there."
(
interactive
"r\nP"
)
(
interactive
(
list
(
region-beginning
)
(
region-end
)
(
if
current-prefix-arg
'full
)))
;; Arrange for undoing the fill to restore point.
(
if
(
and
buffer-undo-list
(
not
(
eq
buffer-undo-list
t
)))
(
setq
buffer-undo-list
(
cons
(
point
)
buffer-undo-list
)))
...
...
@@ -335,9 +336,9 @@ space does not end a sentence, so don't break a line there."
;; Justify the line just ended, if desired.
(
if
justify
(
if
(
eobp
)
(
justify-current-line
(
not
(
null
justify
))
t
t
)
(
justify-current-line
justify
t
t
)
(
forward-line
-1
)
(
justify-current-line
(
not
(
null
justify
))
nil
t
)
(
justify-current-line
justify
nil
t
)
(
forward-line
1
))))))
;; Leave point after final newline.
(
goto-char
(
point-max
)))
...
...
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