Make exit from text-scale-adjust less confusing
* lisp/face-remap.el (text-scale-adjust): Clear the prompt after exiting (bug#25978).
This commit is contained in:
parent
9d1ae05442
commit
a4d40a32cc
1 changed files with 5 additions and 1 deletions
|
|
@ -395,7 +395,11 @@ a top-level keymap, `text-scale-increase' or
|
|||
(dolist (key '(?- ?+ ?= ?0)) ;; = is often unshifted +.
|
||||
(define-key map (vector (append mods (list key)))
|
||||
(lambda () (interactive) (text-scale-adjust (abs inc))))))
|
||||
map))))) ;; )
|
||||
map)
|
||||
nil
|
||||
;; Clear the prompt after exiting.
|
||||
(lambda ()
|
||||
(message ""))))))
|
||||
|
||||
(defvar-local text-scale--pinch-start-scale 0
|
||||
"The text scale at the start of a pinch sequence.")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue