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
e2504204
Commit
e2504204
authored
May 21, 1996
by
Karl Heuer
Browse files
(do-auto-fill): Return t if real work was done.
parent
76bb6dbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
lisp/simple.el
lisp/simple.el
+5
-1
No files found.
lisp/simple.el
View file @
e2504204
...
...
@@ -2330,6 +2330,9 @@ Setting this variable automatically makes it local to the current buffer.")
(
defconst
auto-fill-inhibit-regexp
nil
"*Regexp to match lines which should not be auto-filled."
)
;; This function is the auto-fill-function of a buffer
;; when Auto-Fill mode is enabled.
;; It returns t if it really did any work.
(
defun
do-auto-fill
()
(
let
(
fc
justify
bol
give-up
(
fill-prefix
fill-prefix
))
...
...
@@ -2419,7 +2422,8 @@ Setting this variable automatically makes it local to the current buffer.")
;; No place to break => stop trying.
(
setq
give-up
t
))))
;; justify last line
(justify-current-line justify t t))))
(
justify-current-line
justify
t
t
)
t
)))
(
defun
auto-fill-mode
(
&optional
arg
)
"Toggle auto-fill mode.
...
...
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