[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 74ba8f8: Fix previous buffer name fixup in save-some-buffers
From: |
Lars Ingebrigtsen |
Subject: |
master 74ba8f8: Fix previous buffer name fixup in save-some-buffers |
Date: |
Thu, 3 Sep 2020 22:58:26 -0400 (EDT) |
branch: master
commit 74ba8f8421a064f39d9544b7b9a4e400e07f3b86
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix previous buffer name fixup in save-some-buffers
* lisp/files.el (save-some-buffers): Get the file name for the
correct buffer in the buffer name check (bug#43192).
---
lisp/files.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/files.el b/lisp/files.el
index 3403e25..5f5902d 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5574,7 +5574,7 @@ change the additional actions you can take on files."
(concat "\\<"
(regexp-quote
(file-name-nondirectory
- buffer-file-name))
+ (buffer-file-name buffer)))
"<[^>]*>\\'")
(buffer-name buffer)))
;; The buffer name is similar to the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 74ba8f8: Fix previous buffer name fixup in save-some-buffers,
Lars Ingebrigtsen <=