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
43203a1d
Commit
43203a1d
authored
Jul 27, 1994
by
Richard M. Stallman
Browse files
(justify-current-line): Delete space at end of line.
parent
f4a0f59b
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 @
43203a1d
...
...
@@ -272,7 +272,7 @@ space does not end a sentence, so don't break a line there."
(
interactive
)
(
save-excursion
(
save-restriction
(
let
(
ncols
beg
indent
)
(
let
(
ncols
beg
indent
end
)
(
beginning-of-line
)
(
forward-char
(
length
fill-prefix
))
(
skip-chars-forward
" \t"
)
...
...
@@ -280,6 +280,9 @@ space does not end a sentence, so don't break a line there."
(
setq
beg
(
point
))
(
end-of-line
)
(
narrow-to-region
beg
(
point
))
(
setq
end
(
point
))
(
skip-chars-backward
" \t"
)
(
delete-char
(
-
end
(
point
)))
(
goto-char
beg
)
(
while
(
re-search-forward
" *"
nil
t
)
(
delete-region
...
...
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