Make eww message toggling message clearer

* lisp/net/eww.el (eww-toggle-fonts): Make the message
clearer.

Copyright-paperwork-exempt: Yes
This commit is contained in:
Kaushal Modi 2016-02-19 16:55:54 +11:00 committed by Lars Ingebrigtsen
parent 5e0bb40f8a
commit d675db943e

View file

@ -1502,11 +1502,10 @@ If CHARSET is nil then use UTF-8."
(defun eww-toggle-fonts ()
"Toggle whether to use monospaced or font-enabled layouts."
(interactive)
(message "Fonts are now %s"
(if (setq shr-use-fonts (not shr-use-fonts))
"on"
"off"))
(eww-reload))
(setq shr-use-fonts (not shr-use-fonts))
(eww-reload)
(message "Proportional fonts are now %s"
(if shr-use-fonts "on" "off")))
;;; Bookmarks code