From: Po Lu Date: Sun, 26 Dec 2021 10:51:48 +0000 (+0800) Subject: Document some missing commands related to text scaling X-Git-Tag: emacs-29.0.90~3439 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2958d0ec49713bd1f260a6058f80ca03530ccba4;p=emacs.git Document some missing commands related to text scaling * doc/emacs/display.texi (Text Scale): Document `text-scale-pinch' and `mouse-wheel-text-scale'. --- diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 15cad88d596..f0dc8b776f7 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -903,6 +903,20 @@ prefix argument. @code{text-scale-mode} if the current font scaling is other than 1, and disable it otherwise. +@cindex pinch to scale +@findex text-scale-pinch + The command @code{text-scale-pinch} increases or decreases the text +scale based on the distance between fingers on a touchpad when a pinch +gesture is performed by placing two fingers on a touchpad and moving +them towards or apart from each other. This is only available on some +systems with supported hardware. + +@findex mouse-wheel-text-scale + The command @code{mouse-wheel-text-scale} also changes the text +scale. Normally, it is run when you press @key{Ctrl} while moving the +mouse wheel. The text scale is increased when the wheel is moved +downwards, and it is decreased when the wheel is moved upwards. + @node Font Lock @section Font Lock mode @cindex Font Lock mode