summaryrefslogtreecommitdiff
path: root/lisp/net/eww.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-08-04 11:04:51 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-08-04 11:04:51 +0200
commit3ec2fdc9a1c2162242c30788a932427198c27de2 (patch)
treeb53c89713fb7b6d8f4b5bd723ef7aabfcbf5e967 /lisp/net/eww.el
parent4c1bc8315d8e677e4eeb2760d7a5ab7b7553359b (diff)
downloademacs-3ec2fdc9a1c2162242c30788a932427198c27de2.tar.gz
emacs-3ec2fdc9a1c2162242c30788a932427198c27de2.tar.bz2
emacs-3ec2fdc9a1c2162242c30788a932427198c27de2.zip
Fix eww--download-directory naming
* lisp/net/eww.el (eww--download-directory): (eww-download-directory): Rename function that was mistakenly named "erc--" (bug#56969).
Diffstat (limited to 'lisp/net/eww.el')
-rw-r--r--lisp/net/eww.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index beb8e0c45d5..0ee5ebff818 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -64,7 +64,7 @@ The action to be taken can be further customized via
:version "28.1"
:type 'regexp)
-(defun erc--download-directory ()
+(defun eww--download-directory ()
"Return the name of the download directory.
If ~/Downloads/ exists, that will be used, and if not, the
DOWNLOAD XDG user directory will be returned. If that's
@@ -75,7 +75,7 @@ undefined, ~/Downloads/ is returned anyway."
(file-name-as-directory dir))
"~/Downloads/"))
-(defcustom eww-download-directory 'erc--download-directory
+(defcustom eww-download-directory 'eww--download-directory
"Directory where files will downloaded.
This should either be a directory name or a function (called with
no parameters) that returns a directory name."