Commit cca2ba55 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

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).
parent 9365ff05
Pipeline #3514 passed with stage
in 56 minutes and 20 seconds
......@@ -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)))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment