HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4f57b9
)
(next-file): Handle empty list returned by (tags-table-files).
author
Roland McGrath
<roland@gnu.org>
Sun, 9 Apr 1995 03:18:11 +0000
(
03:18
+0000)
committer
Roland McGrath
<roland@gnu.org>
Sun, 9 Apr 1995 03:18:11 +0000
(
03:18
+0000)
lisp/progmodes/etags.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/progmodes/etags.el
b/lisp/progmodes/etags.el
index
e572d33
..
9c76c6b
100644
(file)
--- a/
lisp/progmodes/etags.el
+++ b/
lisp/progmodes/etags.el
@@
-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))))