* doc/emacs/display.texi (Text Scale): Improve indexing.
* lisp/mwheel.el (mouse-wheel-global-text-scale): Doc fix.
* lisp/face-remap.el (global-text-scale-adjust-resizes-frames):
Fix a typo.
(global-text-scale-adjust-limits): Doc fix.
(Bug#48307)
@cindex ajust global font size
@findex global-text-scale-adjust
+@vindex global-text-scale-adjust-resizes-frames
@kindex C-x C-M-+
@kindex C-x C-M-=
@kindex C-x C-M--
:type '(choice (const :tag "Off" nil)
(const :tag "On" t))
:group 'display
- :version "28.1")
+ :version "29.1")
(defcustom global-text-scale-adjust-limits '(10 . 500)
"Min/max values for `global-text-scale-adjust'.
This is a cons cell where the `car' has the minimum font size and
-the `cdr' has the max font size."
+the `cdr' has the maximum font size, in units of 1/10 pt."
:version "29.1"
:group 'display
:type '(cons (integer :tag "Min")
(defvar mouse-wheel-mode)
(defun mouse-wheel-global-text-scale (event)
- "Increase or decrease the global font size according to the EVENT."
+ "Increase or decrease the global font size according to the EVENT.
+This invokes `global-text-scale-adjust', which see."
(interactive (list last-input-event))
(let ((button (mwheel-event-button event)))
(unwind-protect