From d675db943e8e55321a58353600d3574a8433c52d Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Fri, 19 Feb 2016 16:55:54 +1100 Subject: [PATCH] Make eww message toggling message clearer * lisp/net/eww.el (eww-toggle-fonts): Make the message clearer. Copyright-paperwork-exempt: Yes --- lisp/net/eww.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 -- 2.39.2