1
0
Fork 0
emacs-config/oni-gui.el
Tom Willemse 3422f46ed8 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.
2019-02-25 19:13:15 -08:00

42 lines
1.3 KiB
EmacsLisp

;;; oni-gui.el --- GUI settings for Emacs -*- lexical-binding: t; -*-
;; Copyright (C) 2019 Tom Willemse
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 20190225191251
;; Package-Requires: (oni-ui)
;; 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
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; These are my GUI settings.
;;; Code:
(add-to-list 'default-frame-alist '(font . "Fantasque Sans Mono-15"))
(add-to-list 'default-frame-alist '(internal-border-width . 15))
(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)
(provide 'oni-gui)
;;; oni-gui.el ends here