From 648ec2ff27b23d245acd7fb766bc33c58b8b27fa Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 31 Oct 2000 16:55:23 +0000 Subject: [PATCH] (find-file-noselect): When we expand a wildcard, return a list of buffers, as we should do according to the doc string. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index 268565968aa..3fa55ac80ad 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -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))) -- 2.39.5