From: rush Date: Thu, 24 Sep 2026 17:53:46 +0000 (-0400) Subject: Add arg so terminal-only emacs will work X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=2fcf5a6bb67dc8bbdc716fa5b745ef0699c59f66;p=emacsinit.git Add arg so terminal-only emacs will work --- diff --git a/init.el b/init.el index 160275a..7f23fe2 100644 --- a/init.el +++ b/init.el @@ -842,8 +842,8 @@ If in org-mode, call `org-end-of-line' first." (tool-bar-mode -1))) (add-hook 'after-make-frame-functions - (lambda () - (when (display-graphic-p) + (lambda (frame) + (when (display-graphic-p frame) (set-scroll-bar-mode (if (eq system-type 'windows-nt) nil 'left)))))