]> git.eshelyaron.com Git - emacs.git/commitdiff
(find-file-noselect): When we expand a wildcard, return
authorGerd Moellmann <gerd@gnu.org>
Tue, 31 Oct 2000 16:55:23 +0000 (16:55 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 31 Oct 2000 16:55:23 +0000 (16:55 +0000)
a list of buffers, as we should do according to the doc string.

lisp/files.el

index 268565968aa59fa220648c7c1818144a463da2da..3fa55ac80ad1084ba6f60f0468a7287abf194d56 100644 (file)
@@ -1007,7 +1007,7 @@ that are visiting the various files."
              (find-file-wildcards nil))
          (if (null files)
              (find-file-noselect filename)
-           (car (mapcar #'find-file-noselect files))))
+           (mapcar #'find-file-noselect files)))
       (let* ((buf (get-file-buffer filename))
             (truename (abbreviate-file-name (file-truename filename)))
             (number (nthcdr 10 (file-attributes truename)))