summaryrefslogtreecommitdiff
path: root/lisp/help-macro.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-11-21 14:44:41 +0100
committerStefan Kangas <stefan@marxist.se>2021-11-21 14:44:41 +0100
commit1e0e77bd449dd50501ee7047362a1e66f45c6d46 (patch)
tree9abee2bd68137661e29b89abb64a3af3a799da85 /lisp/help-macro.el
parent75d294cd4abb4d4062a1bfcd914229d0f9e142dd (diff)
downloademacs-1e0e77bd449dd50501ee7047362a1e66f45c6d46.tar.gz
emacs-1e0e77bd449dd50501ee7047362a1e66f45c6d46.tar.bz2
emacs-1e0e77bd449dd50501ee7047362a1e66f45c6d46.zip
Use variable-pitch-mode in 'C-h C-h'
* lisp/faces.el (help-key-binding): Inherit 'fixed-pitch'. * lisp/help-macro.el (make-help-screen): Use 'variable-pitch-mode'. This was discussed in https://lists.gnu.org/r/emacs-devel/2021-11/msg01378.html
Diffstat (limited to 'lisp/help-macro.el')
-rw-r--r--lisp/help-macro.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/help-macro.el b/lisp/help-macro.el
index 1fa9d82afd8..588efee66b1 100644
--- a/lisp/help-macro.el
+++ b/lisp/help-macro.el
@@ -140,6 +140,7 @@ and then returns."
(insert (substitute-command-keys help-screen)))
(let ((minor-mode-map-alist new-minor-mode-map-alist))
(help-mode)
+ (variable-pitch-mode)
(setq new-minor-mode-map-alist minor-mode-map-alist))
(goto-char (point-min))
(while (or (memq char (append help-event-list