* [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
* Re: [PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’.
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
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2017-07-22 9:03 UTC (permalink / raw
To: Matthew Bauer; +Cc: emacs-devel
> From: Matthew Bauer <mjbauer95@gmail.com>
> 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.
Thanks, pushed. (The documentation and NEWS also needed to reflect
this change.)
^ permalink raw reply [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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.