diff --git a/lisp/net/eww.el b/lisp/net/eww.el index d6f850ca3ba..13b90588651 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)))