mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
(update-file-autoloads): Fix placement of new sections.
This commit is contained in:
parent
b59c72562e
commit
0f09bac62e
@ -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 (memq found '(nil new))
|
||||
(and (eq found 'new)
|
||||
;; Check that FILE has any cookies before generating a
|
||||
;; new section for it.
|
||||
(save-excursion
|
||||
|
Loading…
Reference in New Issue
Block a user