]> gitweb.factorcode.org Git - factor.git/commitdiff
FUEL: Load fuel-mode when factor-mode loads.
authorBjörn Lindqvist <bjourne@gmail.com>
Sat, 20 Jul 2013 09:56:33 +0000 (11:56 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 21 Apr 2014 15:33:08 +0000 (08:33 -0700)
misc/fuel/README.md
misc/fuel/fuel-mode.el

index cfcd8fe86ac17987270375d11e8a15d8c3f6de3a..28a13d50ffad95cb99cdbf44fdeed6d20888a09e 100644 (file)
@@ -23,7 +23,7 @@ without connecting to a running Factor image:
 
     (require 'factor-mode)
 
-The fuel-mode minor mode provides interaction with a runnign Factor instance:
+The fuel-mode minor mode provides interaction with a running Factor instance:
 
     (require 'fuel-mode)
 
index ea6ff889a7a21e29f3354b85bc774dcaf948817b..dd65368908f9f3ea9c3672fca3ef2d069448bebe 100644 (file)
@@ -230,6 +230,7 @@ interacting with a factor listener is at your disposal.
         ("Other Factor buffer other frame" "\C-x5s"
          fuel-switch-to-buffer-other-frame)))
 
+(add-hook 'factor-mode-hook (lambda () (fuel-mode 1)))
 \f
 (provide 'fuel-mode)