summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-20 15:29:48 +0200
committerGravatar Tom Willemse2014-04-20 15:29:48 +0200
commita8d4cd84a2d3411d2baedb0d2303224a6d8c25b7 (patch)
tree4f8a7a99cc3bfedc98236722450a6c81337cc242
parent77cef53b30b6261a6d0c4fda85c4af5175b58901 (diff)
downloademacs-a8d4cd84a2d3411d2baedb0d2303224a6d8c25b7.tar.gz
emacs-a8d4cd84a2d3411d2baedb0d2303224a6d8c25b7.zip
Move elnode setting to init.org
-rw-r--r--.emacs.d/init.el4
-rw-r--r--.emacs.d/init.org23
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