emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 2958d0ec49: Document some missing commands related to text scalin


From: Po Lu
Subject: master 2958d0ec49: Document some missing commands related to text scaling
Date: Sun, 26 Dec 2021 05:53:32 -0500 (EST)

branch: master
commit 2958d0ec49713bd1f260a6058f80ca03530ccba4
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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 15cad88d59..f0dc8b776f 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]