From: Lars Ingebrigtsen Date: Thu, 4 Aug 2022 09:04:51 +0000 (+0200) Subject: Fix eww--download-directory naming X-Git-Tag: emacs-29.0.90~1447^2~476 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ec2fdc9a1c2162242c30788a932427198c27de2;p=emacs.git Fix eww--download-directory naming * lisp/net/eww.el (eww--download-directory): (eww-download-directory): Rename function that was mistakenly named "erc--" (bug#56969). --- 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."