about summary refs log tree commit diff
path: root/tools/emacs/config/desktop.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T12·37+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T12·37+0000
commitda9dd45ebfb44fc80ec65913775e0e3973686221 (patch)
treec4a2d98fbfa7be8960cd6475e2713885ca5a0d1d /tools/emacs/config/desktop.el
parente4fe192e572ae15d6752917b76fb0390704ff9ab (diff)
fix(emacs.d): Correctly restore default font size in randr-single r/208
Diffstat (limited to 'tools/emacs/config/desktop.el')
-rw-r--r--tools/emacs/config/desktop.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/emacs/config/desktop.el b/tools/emacs/config/desktop.el
index 84bc60d37712..d923ab584c75 100644
--- a/tools/emacs/config/desktop.el
+++ b/tools/emacs/config/desktop.el
@@ -69,7 +69,7 @@
   (shell-command "xrandr --output HDMI1 --off")
   (shell-command "xrandr --output DP1-1 --off")
   (exwm-randr-refresh)
-  (restore-default-text-scale))
+  (set-default-text-scale nil))
 
 (defun set-xkb-layout (layout)
   "Set the current X keyboard layout."