mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-28 10:51:29 -08:00
(next-file): Handle empty list returned by (tags-table-files).
This commit is contained in:
parent
c4f57b91f1
commit
2f14fde6d0
1 changed files with 3 additions and 1 deletions
|
|
@ -1268,7 +1268,9 @@ if the file was newly read in, the value is the filename."
|
|||
(setq tail (cdr tail)))
|
||||
;; Use a copy so the next loop iteration will not modify the
|
||||
;; list later returned by (tags-table-files).
|
||||
(setcdr tail (copy-sequence (tags-table-files)))))))
|
||||
(if tail
|
||||
(setcdr tail (copy-sequence (tags-table-files)))
|
||||
(setq next-file-list (copy-sequence (tags-table-files)))))))
|
||||
(t
|
||||
;; Initialize the list by evalling the argument.
|
||||
(setq next-file-list (eval initialize))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue