changeset 33105:dd4bceb945d3

(find-file-noselect): When we expand a wildcard, return a list of buffers, as we should do according to the doc string.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 31 Oct 2000 16:55:23 +0000
parents c587b5380fe0
children fe8368d8fe41
files lisp/files.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Tue Oct 31 16:31:04 2000 +0000
+++ b/lisp/files.el	Tue Oct 31 16:55:23 2000 +0000
@@ -1007,7 +1007,7 @@
 	      (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)))