Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0f09bac6
Commit
0f09bac6
authored
Jan 06, 1996
by
Roland McGrath
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(update-file-autoloads): Fix placement of new sections.
parent
b59c7256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
lisp/emacs-lisp/autoload.el
lisp/emacs-lisp/autoload.el
+7
-1
No files found.
lisp/emacs-lisp/autoload.el
View file @
0f09bac6
...
...
@@ -330,8 +330,14 @@ autoloads go somewhere else.")
;; insert one before the section here.
(
goto-char
(
match-beginning
0
))
(
setq
found
'new
)))))
(
or
found
(
progn
(
setq
found
'new
)
;; No later sections in the file. Put before the last page.
(
goto-char
(
point-max
))
(
search-backward
"\f"
)))
(
or
(
eq
found
'up-to-date
)
(
and
(
mem
q
found
'
(
nil
new
)
)
(
and
(
e
q
found
'new
)
;; Check that FILE has any cookies before generating a
;; new section for it.
(
save-excursion
...
...
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