bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#48307: Feature request: provide default keybindings to change the fo


From: Gregory Heytings
Subject: bug#48307: Feature request: provide default keybindings to change the font size in all windows
Date: Mon, 10 May 2021 19:47:40 +0000



Looks good!  A small stylistic comment:

+           (pcase key
+              ((or ?+ ?=) (* increment 5))
+              (?- (* (- increment) 5))
+              (?0 (- global-text-scale-adjust--default-height
+                     (face-attribute 'default :height)))
+              (_ (* increment 5)))))

Do you need the first branch? If you remove it, those cases will be caught by the default fall-through.


Oh yes, indeed!  Thanks :-)





reply via email to

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