Move lui config to separate file
This commit is contained in:
parent
1af5279f9c
commit
0e21fddb0c
2 changed files with 38 additions and 7 deletions
|
@ -394,13 +394,7 @@
|
|||
|
||||
(with-eval-after-load 'circe (load "oni-circe-init"))
|
||||
|
||||
(eval-when-compile (require 'lui))
|
||||
|
||||
(with-eval-after-load 'lui
|
||||
(setq lui-time-stamp-position 'right-margin))
|
||||
|
||||
(with-eval-after-load 'lui
|
||||
(setq lui-time-stamp-format "%H:%M"))
|
||||
(with-eval-after-load 'lui (load "oni-lui-init"))
|
||||
|
||||
(defun oni:set-circe-margin-width ()
|
||||
(setq right-margin-width 5))
|
||||
|
|
37
emacs/.emacs.d/init/oni-lui-init.el
Executable file
37
emacs/.emacs.d/init/oni-lui-init.el
Executable file
|
@ -0,0 +1,37 @@
|
|||
;;; oni-lui-init.el --- Linewise User Interface configuration -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2018 Tom Willemse
|
||||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
|
||||
;; 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:
|
||||
|
||||
;; My customizations to the Linewise User Interface. Used by both
|
||||
;; Circe and emacs-slack.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'lui)
|
||||
|
||||
(with-eval-after-load 'lui
|
||||
(setq lui-time-stamp-position 'right-margin))
|
||||
|
||||
(with-eval-after-load 'lui
|
||||
(setq lui-time-stamp-format "%H:%M"))
|
||||
|
||||
(provide 'oni-lui-init)
|
||||
;;; oni-lui-init.el ends here
|
Loading…
Reference in a new issue