diff options
author | Tom Willemsen | 2018-06-06 21:04:47 -0700 |
---|---|---|
committer | Tom Willemsen | 2018-06-06 21:04:47 -0700 |
commit | 0e21fddb0c6d6118d59d2d7f409d43a5a519b4ab (patch) | |
tree | ff68c6bfdf7f782b1fa9ac0277b5e9132e4396d8 /emacs/.emacs.d | |
parent | 1af5279f9c158937e2144c28dfe9176558eb1204 (diff) | |
download | new-dotfiles-0e21fddb0c6d6118d59d2d7f409d43a5a519b4ab.tar.gz new-dotfiles-0e21fddb0c6d6118d59d2d7f409d43a5a519b4ab.zip |
Move lui config to separate file
Diffstat (limited to 'emacs/.emacs.d')
-rw-r--r-- | emacs/.emacs.d/init.el | 8 | ||||
-rwxr-xr-x | emacs/.emacs.d/init/oni-lui-init.el | 37 |
2 files changed, 38 insertions, 7 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 5cb53ec..da540bc 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -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)) diff --git a/emacs/.emacs.d/init/oni-lui-init.el b/emacs/.emacs.d/init/oni-lui-init.el new file mode 100755 index 0000000..93ee82e --- /dev/null +++ b/emacs/.emacs.d/init/oni-lui-init.el @@ -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 |