summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-04-18 11:20:20 +0800
committerJSDurand <mmemmew@gmail.com>2021-04-18 11:20:20 +0800
commit7198dd7a9cc05b5ca0e8956f986260e44345ca8f (patch)
treefe94ec0ad3d277fb5fb16f7976ac1bd0072fe036
parent060dd9b47dc6ac107cf61f590d43a227c644c644 (diff)
eww-retrieve-command can be faster
* eww-conf.el : It is faster to download pages using wget. But emacs-28 is still unusable for me at this moment.
-rw-r--r--eww-conf.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/eww-conf.el b/eww-conf.el
index d10b3a5..5e21db1 100644
--- a/eww-conf.el
+++ b/eww-conf.el
@@ -15,6 +15,10 @@
(setq eww-search-prefix "https://searx.lukesmith.xyz/search?q=")
+;; This feels much quicker
+(cond ((version<= "28" emacs-version))
+ ((setq eww-retrieve-command '("wget" "--quiet" "--output-document=-"))))
+
(define-key eww-mode-map (vector 'C-tab)
#'durand-eww-goto-search-result)