]> git.earman.xyz Git - emacsinit.git/commitdiff
Add arg so terminal-only emacs will work
authorrush <rearman@r717.net>
Thu, 24 Sep 2026 17:53:46 +0000 (13:53 -0400)
committerrush <rearman@r717.net>
Thu, 24 Sep 2026 17:54:44 +0000 (13:54 -0400)
init.el

diff --git a/init.el b/init.el
index 160275a5156ffd3ae1203a779d0627aae88d3f2c..7f23fe264413ec105b0d7a7e79ae23b59d6322c2 100644 (file)
--- a/init.el
+++ b/init.el
@@ -842,8 +842,8 @@ If in org-mode, call `org-end-of-line' first."
     (tool-bar-mode -1)))\r
 \r
 (add-hook 'after-make-frame-functions\r
-         (lambda ()\r
-           (when (display-graphic-p)\r
+         (lambda (frame)\r
+           (when (display-graphic-p frame)\r
              (set-scroll-bar-mode (if (eq system-type 'windows-nt)\r
                                       nil\r
                                     'left)))))\r