]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix eww--download-directory naming
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Aug 2022 09:04:51 +0000 (11:04 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Aug 2022 09:04:51 +0000 (11:04 +0200)
* lisp/net/eww.el (eww--download-directory):
(eww-download-directory): Rename function that was mistakenly
named "erc--"   (bug#56969).

lisp/net/eww.el

index beb8e0c45d57abfd72e009e6828d1d63992f929a..0ee5ebff8184dfe4126d2b72bc75ab6ab85b8bc3 100644 (file)
@@ -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."