]> git.eshelyaron.com Git - emacs.git/commitdiff
(tags-complete-tags-table-file): Don't cons unnecessarily.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 20 May 2002 18:48:33 +0000 (18:48 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 20 May 2002 18:48:33 +0000 (18:48 +0000)
lisp/progmodes/etags.el

index 5d0fdf37724f64c4d5e40d3e00660018231c1b78..8fe9d54bbd6e1fbfda2f27dc6e20b5be1c88c562 100644 (file)
@@ -1750,10 +1750,8 @@ See documentation of variable `tags-file-name'."
     (let ((enable-recursive-minibuffers t))
       (visit-tags-table-buffer))
     (if (eq what t)
-       (all-completions string (mapcar 'list (tags-table-files))
-                        predicate)
-      (try-completion string (mapcar 'list (tags-table-files))
-                     predicate))))
+       (all-completions string (tags-table-files) predicate)
+      (try-completion string (tags-table-files) predicate))))
 
 ;;;###autoload
 (defun list-tags (file &optional next-match)