From a8d4cd84a2d3411d2baedb0d2303224a6d8c25b7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 20 Apr 2014 15:29:48 +0200 Subject: Move elnode setting to init.org --- .emacs.d/init.el | 4 ---- .emacs.d/init.org | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5ecadbd..6cb703b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -910,10 +910,6 @@ from myaethon2.core.decorators import ( ;;;; Unconditional settings -;; Can't be put in an eval-after-load or such because by then it will -;; be too late. -(setq elnode-do-init nil) - (add-to-list 'debug-ignored-errors "^Can't shift all lines enough") (eval '(setq inhibit-startup-echo-area-message "slash")) diff --git a/.emacs.d/init.org b/.emacs.d/init.org index d3e9f9e..aa58d94 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -614,6 +614,29 @@ (setq message-log-max 1000) #+END_SRC +** Don't start =elnode= when Emacs starts + + Elnode is an awesome project and I'm still looking for a moment + where I have the inspiration and time to actually do something with + it. I started at some point, but then I couldn't get the cookies to + work and I switched over to using Common Lisp, only to eventually + stop developing the project because there was not chance of it + seeing any use in the foreseeable future. + + There is one little annoyance, though, and that is the fact that + elnode will start itself up when Emacs starts. I don't want that. + + This bit of code can't be put in an =eval-after-load= or anything + like that because by the time it would be evaluated, elnode would + already have started. + + *Note:* See my [[Vacuous defvar][note]] on vacuous defvar for this use of =defvar=. + + #+BEGIN_SRC emacs-lisp + (defvar elnode-do-init) + (setq elnode-do-init nil) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I -- cgit v1.2.3-54-g00ecf