mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-09 13:40:50 +00:00
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:
parent
5e0bb40f8a
commit
d675db943e
1 changed files with 4 additions and 5 deletions
|
@ -1502,11 +1502,10 @@ If CHARSET is nil then use UTF-8."
|
||||||
(defun eww-toggle-fonts ()
|
(defun eww-toggle-fonts ()
|
||||||
"Toggle whether to use monospaced or font-enabled layouts."
|
"Toggle whether to use monospaced or font-enabled layouts."
|
||||||
(interactive)
|
(interactive)
|
||||||
(message "Fonts are now %s"
|
(setq shr-use-fonts (not shr-use-fonts))
|
||||||
(if (setq shr-use-fonts (not shr-use-fonts))
|
(eww-reload)
|
||||||
"on"
|
(message "Proportional fonts are now %s"
|
||||||
"off"))
|
(if shr-use-fonts "on" "off")))
|
||||||
(eww-reload))
|
|
||||||
|
|
||||||
;;; Bookmarks code
|
;;; Bookmarks code
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue