diff options
| author | Lars Ingebrigtsen | 2019-10-09 03:55:09 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-09 03:55:09 +0200 |
| commit | cca2ba5532d1e274f7d27c62a97bb9ed18f2d356 (patch) | |
| tree | 0dbf963ffaec09a6da81e7cc184a4caea8010b53 | |
| parent | 9365ff0527c27adb1c66e11ceee129f5e932a98d (diff) | |
| download | emacs-cca2ba5532d1e274f7d27c62a97bb9ed18f2d356.tar.gz 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).
| -rw-r--r-- | lisp/face-remap.el | 2 |
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." | |||
| 474 | An interface to `buffer-face-mode' which uses the `variable-pitch' face. | 474 | An interface to `buffer-face-mode' which uses the `variable-pitch' face. |
| 475 | Besides the choice of face, it is the same as `buffer-face-mode'." | 475 | Besides the choice of face, it is the same as `buffer-face-mode'." |
| 476 | (interactive (list (or current-prefix-arg 'toggle))) | 476 | (interactive (list (or current-prefix-arg 'toggle))) |
| 477 | (buffer-face-mode-invoke 'variable-pitch arg | 477 | (buffer-face-mode-invoke 'variable-pitch (or arg t) |
| 478 | (called-interactively-p 'interactive))) | 478 | (called-interactively-p 'interactive))) |
| 479 | 479 | ||
| 480 | 480 | ||