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
commit9993b5610cd7c82669de43fbad0bc3d022450b77 (patch)
treecbc1bbd6e9c009495ffb308191e1b8248cda590d
parent3fd4909e45e7e7a487b72dd67b63bf2055ed72c2 (diff)
downloademacs-9993b5610cd7c82669de43fbad0bc3d022450b77.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