]> git.eshelyaron.com Git - emacs.git/commitdiff
(select-tags-table): Don't modify the value of tags-table-list.
authorRichard M. Stallman <rms@gnu.org>
Mon, 30 Oct 1995 19:25:04 +0000 (19:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 30 Oct 1995 19:25:04 +0000 (19:25 +0000)
lisp/progmodes/etags.el

index 8650a995dd4d740627974b7b9c5f8a280d648c31..2b4a876e494303d498fc8992621537c46e190e79 100644 (file)
@@ -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