From 2958d0ec49713bd1f260a6058f80ca03530ccba4 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 26 Dec 2021 18:51:48 +0800 Subject: [PATCH] Document some missing commands related to text scaling * doc/emacs/display.texi (Text Scale): Document `text-scale-pinch' and `mouse-wheel-text-scale'. --- doc/emacs/display.texi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.2