summaryrefslogtreecommitdiffhomepage
path: root/attic/elisp/misc.el
diff options
context:
space:
mode:
Diffstat (limited to 'attic/elisp/misc.el')
-rw-r--r--attic/elisp/misc.el6
1 files changed, 6 insertions, 0 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)))