aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-03-12 10:27:32 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-03-12 10:27:32 -0700
commit3747982d72ed1a6b5c40bbad3cdbfe837e5599f2 (patch)
treed90f9dab1bbd89de2a1bc7086e17c46c095f9d72 /doc
parent8812e12e1ad40ebb07a7a11c11fd1bf6014fa867 (diff)
downloadconsfigurator-3747982d72ed1a6b5c40bbad3cdbfe837e5599f2.tar.gz
doc/introduction.rst: add activating consfigurator-lisp-mode
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'doc')
-rw-r--r--doc/introduction.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/introduction.rst b/doc/introduction.rst
index b9417da..6ed9275 100644
--- a/doc/introduction.rst
+++ b/doc/introduction.rst
@@ -30,6 +30,11 @@ Try it out / quick start
(consfigurator:defpackage-consfig :com.example.consfig
(:use #:cl #:alexandria #:consfigurator))
+ If you use Emacs and you have ``consfigurator.el`` installed, it will help
+ to activate our major mode in ~/common-lisp/consfig/.dir-locals.el::
+
+ ((auto-mode-alist . (("\\.lisp\\'" . consfigurator-lisp-mode))))
+
4. Define some hosts and deployments.
~/common-lisp/consfig/consfig.lisp::