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
aa648601
Commit
aa648601
authored
Dec 31, 1993
by
Richard M. Stallman
Browse files
(open-line): Properly put fill-prefix on each line.
parent
385f7c8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lisp/simple.el
lisp/simple.el
+6
-5
No files found.
lisp/simple.el
View file @
aa648601
...
...
@@ -44,11 +44,12 @@ With arg N, insert N newlines."
(
if
(
and
buffer-undo-list
(
not
(
eq
buffer-undo-list
t
)))
(
setq
buffer-undo-list
(
cons
(
point
)
buffer-undo-list
)))
(
forward-char
-1
)))
(
while
(
>
arg
0
)
(
save-excursion
(
insert
?\n
)
(
if
do-fill-prefix
(
insert
fill-prefix
)))
(
setq
arg
(
1-
arg
)))
(
save-excursion
(
while
(
>
arg
0
)
(
if
do-fill-prefix
(
insert
fill-prefix
))
(
insert
?\n
)
(
setq
arg
(
1-
arg
))))
(
end-of-line
)
(
if
flag
(
forward-char
1
))))
(
defun
split-line
()
...
...
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