aboutsummaryrefslogtreecommitdiffstats
path: root/oni-ui.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-02-25 19:10:31 -0800
committerGravatar Tom Willemse2019-02-25 19:13:15 -0800
commit3422f46ed8d94ac492bee03405a757197d4edf10 (patch)
treeae9b820c7c6ccf88b9501d916ffbcacc42be5b9f /oni-ui.el
parentb6220b1d6f4cd30e3c4c28b0f2243f831545c7ce (diff)
downloademacs-config-3422f46ed8d94ac492bee03405a757197d4edf10.tar.gz
emacs-config-3422f46ed8d94ac492bee03405a757197d4edf10.zip
Move `scroll-bar-mode' to GUI config, fix warning
Move `scroll-bar-mode' to `oni-gui` because it isn't defined in the non-GUI version. Fix the warning that `tool-bar-mode' wasn't guaranteed to be defined by requiring the `tool-bar' library.
Diffstat (limited to 'oni-ui.el')
-rw-r--r--oni-ui.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/oni-ui.el b/oni-ui.el
index 64c2e9f..f9126cc 100644
--- a/oni-ui.el
+++ b/oni-ui.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190130014741
+;; Version: 20190225191257
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -25,9 +25,10 @@
;;; Code:
+(require 'tool-bar)
+
(menu-bar-mode -1)
(tool-bar-mode -1)
-(scroll-bar-mode -1)
(setq inhibit-startup-screen t)