summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2025-09-19 22:17:33 +0100
committerjao <jao@gnu.org>2025-09-19 22:17:33 +0100
commitd0f8c16fd87df93a4fa1512bb0e8c652857bf7a4 (patch)
tree178b8ea0930132d1b298845954b5986d90c8b0cc
parente39d4df6d57e41e224767be2a15c499b0c566a0a (diff)
downloadelibs-d0f8c16fd87df93a4fa1512bb0e8c652857bf7a4.tar.gz
elibs-d0f8c16fd87df93a4fa1512bb0e8c652857bf7a4.tar.bz2
attic
-rw-r--r--attic/elisp/misc.el6
-rw-r--r--custom/jao-custom-eww.el8
2 files changed, 7 insertions, 7 deletions
diff --git a/attic/elisp/misc.el b/attic/elisp/misc.el
index d8c2610..2213646 100644
--- a/attic/elisp/misc.el
+++ b/attic/elisp/misc.el
@@ -1075,3 +1075,9 @@ It should be the title of the web page as returned by `rdrview'"
(if eww-rdrview-mode (eww-rdrview-mode -1)
(eww-rdrview-mode 1))
(eww-reload))
+
+(defun jao-eww-readable (rdrview)
+ (interactive "P" eww-mode)
+ (if rdrview
+ (eww-rdrview-toggle-and-reload)
+ (eww-readable)))
diff --git a/custom/jao-custom-eww.el b/custom/jao-custom-eww.el
index cdd5c8d..93a2c92 100644
--- a/custom/jao-custom-eww.el
+++ b/custom/jao-custom-eww.el
@@ -195,12 +195,6 @@
(when (not (string-blank-p s)) (format "%s" s))))
(setq eww-auto-rename-buffer #'jao-eww-buffer-name)
- (defun jao-eww-readable (rdrview)
- (interactive "P" eww-mode)
- (if rdrview
- (eww-rdrview-toggle-and-reload)
- (eww-readable)))
-
:bind (:map eww-mode-map (("b" . eww-back-url)
("B" . eww-forward-url)
("d" . jao-download)
@@ -211,7 +205,7 @@
("o" . jao-eww-browse)
("O" . jao-eww-browse-new)
("r" . jao-eww-reload)
- ("R" . jao-eww-readable)
+ ("R" . eww-readable)
("s" . eww-search-words)
("S" . jao-eww-browse-new)
("T" . jao-mastodon-toot-url)