From 3747982d72ed1a6b5c40bbad3cdbfe837e5599f2 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 12 Mar 2023 10:27:32 -0700 Subject: doc/introduction.rst: add activating consfigurator-lisp-mode Signed-off-by: Sean Whitton --- doc/introduction.rst | 5 +++++ 1 file changed, 5 insertions(+) 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:: -- cgit v1.2.3