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.
This commit is contained in:
parent
b6220b1d6f
commit
3422f46ed8
2 changed files with 6 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20190130014447
|
||||
;; Version: 20190225191251
|
||||
;; Package-Requires: (oni-ui)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -32,6 +32,8 @@
|
|||
(setq-default cursor-type '(bar . 2))
|
||||
(setq-default cursor-in-non-selected-windows 'box)
|
||||
|
||||
(scroll-bar-mode -1)
|
||||
|
||||
(load-theme 'yoshi :no-confirm)
|
||||
|
||||
;;;###autoload(require 'oni-gui)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue