diff options
-rw-r--r-- | eww-conf.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eww-conf.el b/eww-conf.el index aaf48d3..23619e4 100644 --- a/eww-conf.el +++ b/eww-conf.el @@ -332,6 +332,9 @@ users to select." (or (plist-get eww-data :title) (file-name-nondirectory (eww-current-url))) eww-download-directory)))) + ;; eww-download-directory might be a function + (cond + ((functionp dir) (setq dir (funcall dir)))) ;; Check the validity of DIR (cond ((and (stringp dir) (not (string= dir "")) (file-accessible-directory-p dir))) |