summaryrefslogtreecommitdiff
path: root/lisp/face-remap.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-09 03:55:09 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-09 03:55:09 +0200
commitcca2ba5532d1e274f7d27c62a97bb9ed18f2d356 (patch)
tree0dbf963ffaec09a6da81e7cc184a4caea8010b53 /lisp/face-remap.el
parent9365ff0527c27adb1c66e11ceee129f5e932a98d (diff)
downloademacs-cca2ba5532d1e274f7d27c62a97bb9ed18f2d356.tar.gz
emacs-cca2ba5532d1e274f7d27c62a97bb9ed18f2d356.tar.bz2
emacs-cca2ba5532d1e274f7d27c62a97bb9ed18f2d356.zip
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).
Diffstat (limited to 'lisp/face-remap.el')
-rw-r--r--lisp/face-remap.el2
1 files changed, 1 insertions, 1 deletions
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)))