[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 9939c43: Return the correct suffix in eww-make-unique-file-name
From: |
Lars Ingebrigtsen |
Subject: |
emacs-27 9939c43: Return the correct suffix in eww-make-unique-file-name |
Date: |
Sun, 29 Nov 2020 05:41:06 -0500 (EST) |
branch: emacs-27
commit 9939c435c108b099d3362ecbfa1cba6cc0bbd8f9
Author: Akira Kyle <akira@akirakyle.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Return the correct suffix in eww-make-unique-file-name
* lisp/net/eww.el (eww-make-unique-file-name): Return the correct
suffix (bug#44936).
---
lisp/net/eww.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index d6f850c..13b9058 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -1661,7 +1661,7 @@ Use link at point if there is one, else the current
page's URL."
(suffix ""))
(when (string-match "\\`\\(.*\\)\\([.][^.]+\\)" file)
(setq stem (match-string 1 file)
- suffix (match-string 2)))
+ suffix (match-string 2 file)))
(while (file-exists-p (expand-file-name file directory))
(setq file (format "%s(%d)%s" stem count suffix))
(setq count (1+ count)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 9939c43: Return the correct suffix in eww-make-unique-file-name,
Lars Ingebrigtsen <=