comparison lisp/emacs-lisp/autoload.el @ 16158:af6ef293cb42

(update-file-autoloads): Don't barf if autoloads file file is completely empty.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 1996 21:54:46 +0000
parents 7ef2eabb1a9c
children 22c9b578e220
comparison
equal deleted inserted replaced
16157:1713fe640e41 16158:af6ef293cb42
335 (or found 335 (or found
336 (progn 336 (progn
337 (setq found 'new) 337 (setq found 'new)
338 ;; No later sections in the file. Put before the last page. 338 ;; No later sections in the file. Put before the last page.
339 (goto-char (point-max)) 339 (goto-char (point-max))
340 (search-backward "\f"))) 340 (search-backward "\f" nil t)))
341 (or (eq found 'up-to-date) 341 (or (eq found 'up-to-date)
342 (and (eq found 'new) 342 (and (eq found 'new)
343 ;; Check that FILE has any cookies before generating a 343 ;; Check that FILE has any cookies before generating a
344 ;; new section for it. 344 ;; new section for it.
345 (save-excursion 345 (save-excursion