From: Kaushal Modi Date: Fri, 19 Feb 2016 05:55:54 +0000 (+1100) Subject: Make eww message toggling message clearer X-Git-Tag: emacs-25.0.92~92 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d675db943e8e55321a58353600d3574a8433c52d;p=emacs.git Make eww message toggling message clearer * lisp/net/eww.el (eww-toggle-fonts): Make the message clearer. Copyright-paperwork-exempt: Yes --- diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 551517b9d64..796eacf274e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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