From f3e29733bbe63950b3ef1259744723193ff5f388 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 25 Aug 2020 17:07:39 +0200 Subject: [PATCH] Tweak the file/buffer comparison from previous save-some-buffers change * lisp/files.el (save-some-buffers): Relax the "similarity" regexp from the previous regexp: Don't show both file and buffer names if the file is /tmp/foo and the buffer name is foo. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/files.el b/lisp/files.el index f1931c7d92f..9a20ad41bae 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -5575,7 +5575,7 @@ change the additional actions you can take on files." (regexp-quote (file-name-nondirectory buffer-file-name)) - "<[0-9]+>\\'") + "<[^>]*>\\'") (buffer-name buffer))) ;; The buffer name is similar to the ;; file name. -- 2.39.2