From 3422f46ed8d94ac492bee03405a757197d4edf10 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 Feb 2019 19:10:31 -0800 Subject: 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. --- oni-ui.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'oni-ui.el') 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 ;; 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) -- cgit v1.2.3-54-g00ecf