* [PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’.
@ 2017-07-13 22:14 Matthew Bauer
2017-07-22 9:03 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Matthew Bauer @ 2017-07-13 22:14 UTC (permalink / raw)
To: emacs-devel
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 Customize\"."
(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)
--
2.13.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-22 9:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-13 22:14 [PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’ Matthew Bauer
2017-07-22 9:03 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).