emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f3e2973: Tweak the file/buffer comparison from previous save-some


From: Lars Ingebrigtsen
Subject: master f3e2973: Tweak the file/buffer comparison from previous save-some-buffers change
Date: Tue, 25 Aug 2020 11:07:47 -0400 (EDT)

branch: master
commit f3e29733bbe63950b3ef1259744723193ff5f388
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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<zot>.
---
 lisp/files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index f1931c7..9a20ad4 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]