HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b59c725
)
(update-file-autoloads): Fix placement of new sections.
author
Roland McGrath
<roland@gnu.org>
Sat, 6 Jan 1996 19:57:24 +0000
(19:57 +0000)
committer
Roland McGrath
<roland@gnu.org>
Sat, 6 Jan 1996 19:57:24 +0000
(19:57 +0000)
lisp/emacs-lisp/autoload.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/emacs-lisp/autoload.el
b/lisp/emacs-lisp/autoload.el
index
829b5ec
..
b019294
100644
(file)
--- a/
lisp/emacs-lisp/autoload.el
+++ b/
lisp/emacs-lisp/autoload.el
@@
-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