From cca2ba5532d1e274f7d27c62a97bb9ed18f2d356 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 9 Oct 2019 03:55:09 +0200 Subject: [PATCH] Make a nil parameter switch variable-pitch-mode on * lisp/face-remap.el (variable-pitch-mode): Make a nil parameter switch the mode on instead of toggling (bug#19384). --- lisp/face-remap.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/face-remap.el b/lisp/face-remap.el index 1a0cc646c35..5cdecb92ee0 100644 --- a/lisp/face-remap.el +++ b/lisp/face-remap.el @@ -474,7 +474,7 @@ may be more appropriate." An interface to `buffer-face-mode' which uses the `variable-pitch' face. Besides the choice of face, it is the same as `buffer-face-mode'." (interactive (list (or current-prefix-arg 'toggle))) - (buffer-face-mode-invoke 'variable-pitch arg + (buffer-face-mode-invoke 'variable-pitch (or arg t) (called-interactively-p 'interactive))) -- 2.39.5