emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3ec2fdc9a1: Fix eww--download-directory naming


From: Lars Ingebrigtsen
Subject: master 3ec2fdc9a1: Fix eww--download-directory naming
Date: Thu, 4 Aug 2022 05:05:36 -0400 (EDT)

branch: master
commit 3ec2fdc9a1c2162242c30788a932427198c27de2
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 beb8e0c45d..0ee5ebff81 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]