From 3ec2fdc9a1c2162242c30788a932427198c27de2 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 4 Aug 2022 11:04:51 +0200 Subject: [PATCH] Fix eww--download-directory naming * lisp/net/eww.el (eww--download-directory): (eww-download-directory): Rename function that was mistakenly named "erc--" (bug#56969). --- lisp/net/eww.el | 4 ++-- 1 file 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." -- 2.39.5