From 92f081612e5327ad43548039fa6e91b808abceb0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 15 Jun 2014 00:48:39 +0200 Subject: Move avandu settings --- .emacs.d/init.el | 6 +----- .emacs.d/site-lisp/avandu-init.el | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 .emacs.d/site-lisp/avandu-init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 4941397..ce32f82 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -875,17 +875,13 @@ from myaethon2.core.decorators import ( ;;;; Module-specific settings (auto-init appt) +(auto-init avandu) (stante-after auto-complete (add-to-list 'ac-modes 'slime-repl-mode) (setq ac-auto-show-menu nil ac-use-quick-help nil)) -(stante-after avandu - (setq avandu-user "admin") - (setq avandu-tt-rss-api-url "https://ryuslash.org/tt-rss/api/") - (setq avandu-html2text-command #'shr-render-region)) - (stante-after "bindings" (setq mode-line-default-help-echo "")) diff --git a/.emacs.d/site-lisp/avandu-init.el b/.emacs.d/site-lisp/avandu-init.el new file mode 100644 index 0000000..3a80140 --- /dev/null +++ b/.emacs.d/site-lisp/avandu-init.el @@ -0,0 +1,35 @@ +;;; avandu-init.el --- Initialization for avandu -*- lexical-binding: t; -*- + +;; Copyright (C) 2014 Tom Willemse + +;; Author: Tom Willemse +;; Keywords: + +;; 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 . + +;;; Commentary: + +;; Initialization code for the `avandu' library, should get loaded +;; when `avandu' is. + +;;; Code: + +(require 'avandu) + +(setq avandu-user "admin" + avandu-tt-rss-api-url "https://ryuslash.org/tt-rss/api/" + avandu-html2text-command #'shr-render-region) + +(provide 'avandu-init) +;;; avandu-init.el ends here -- cgit v1.2.3-54-g00ecf