From: Matthew Bauer <mjbauer95@gmail.com>
To: emacs-devel@gnu.org
Subject: [PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’.
Date: Thu, 13 Jul 2017 15:14:02 -0700 [thread overview]
Message-ID: <5967f369.1aa6620a.9e07c.1774@mx.google.com> (raw)
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
next reply other threads:[~2017-07-13 22:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 22:14 Matthew Bauer [this message]
2017-07-22 9:03 ` [PATCH] Add "scroll-bar-mode" to settings in ‘x-apply-session-resources’ Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5967f369.1aa6620a.9e07c.1774@mx.google.com \
--to=mjbauer95@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).