summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-10-30 19:25:04 +0000
committerRichard M. Stallman <rms@gnu.org>1995-10-30 19:25:04 +0000
commit4366fe072afed1160e45cf6b5a01e396062d5dfb (patch)
treecd18532c379e199585e80c5b8488cb065afc6122
parente4b509af76d23f84124a85c6b44c866941d9fbab (diff)
downloademacs-4366fe072afed1160e45cf6b5a01e396062d5dfb.tar.gz
(select-tags-table): Don't modify the value of tags-table-list.
-rw-r--r--lisp/progmodes/etags.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 8650a995dd4..2b4a876e494 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1461,7 +1461,7 @@ see the doc of that variable if you want to add names to the list."
(prin1 tags-file-name (current-buffer)) ;invisible
(insert "\n")))
(setq set-list (delete tags-file-name
- (apply 'nconc (cons tags-table-list
+ (apply 'nconc (cons (copy-sequence tags-table-list)
(mapcar 'copy-sequence
tags-table-set-list)))))
(while set-list