[Top][All Lists]

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

[PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’

From: Matthew Bauer
Subject: [PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’.
Date: Thu, 13 Jul 2017 15:14:02 -0700

This adds scroll-bar-mode as a setting that can be set through
‘x-get-resource’. This is mainly useful to prevent the scroll bar from
being initialize when Emacs starts up. It follows the same general
idea as with menu-bar-mode and tool-bar-mode.
 lisp/startup.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/startup.el b/lisp/startup.el
index bc60bbd08b..0fbba1bea2 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -1432,6 +1432,7 @@ settings will be marked as \"CHANGED outside of 
   (let ((no-vals  '("no" "off" "false" "0"))
        (settings '(("menuBar" "MenuBar" menu-bar-mode nil)
                    ("toolBar" "ToolBar" tool-bar-mode nil)
+                   ("scrollBar" "ScrollBar" scroll-bar-mode nil)
                    ("cursorBlink" "CursorBlink" no-blinking-cursor t))))
     (dolist (x settings)
       (if (member (x-get-resource (nth 0 x) (nth 1 x)) no-vals)

reply via email to

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