diff options
-rw-r--r-- | custom/jao-custom-w3m.el | 4 | ||||
-rw-r--r-- | init.el | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/custom/jao-custom-w3m.el b/custom/jao-custom-w3m.el index af4b0be..fb0e89f 100644 --- a/custom/jao-custom-w3m.el +++ b/custom/jao-custom-w3m.el @@ -30,8 +30,7 @@ (condition-case nil (mm-inline-text-html-render-with-w3m handle) (error (delete-region (point) (point-max)) - (let ((shr-use-fonts nil) - (shr-use-colors nil)) + (let ((shr-use-fonts nil)) (mm-shr handle)))))) (setq mm-text-html-renderer #'jao-w3m-html-renderer) @@ -166,6 +165,7 @@ ("D" . w3m-download) ("f" . w3m-lnum-follow) ("v" . jao-view-video) + ("q" . w3m-delete-buffer) ("w" . org-w3m-copy-for-org-mode) ("x" . jao-rss-subscribe) ("y" . w3m-print-current-url)))) @@ -1509,7 +1509,8 @@ (member (buffer-local-value 'exwm-class-name b) '("vlc" "mpv")))))) -(require 'jao-custom-eww) +;; (require 'jao-custom-eww) +(require 'jao-custom-w3m) ;;;; browse-url (require 'browse-url) |