summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorSteve Purcell <steve@sanityinc.com>2014-01-22 12:01:16 (GMT)
committerSteve Purcell <steve@sanityinc.com>2014-01-22 12:01:16 (GMT)
commit2b9fefbdd471bd1b276fd5eadd5d8043dcc7f8ac (patch)
treee588d83e9095d47fc9771b3736ee85c70fd65474 /misc
parent8d42584c29f0eb2e955870db2805335460763282 (diff)
downloadNinja-2b9fefbdd471bd1b276fd5eadd5d8043dcc7f8ac.zip
Ninja-2b9fefbdd471bd1b276fd5eadd5d8043dcc7f8ac.tar.gz
Ninja-2b9fefbdd471bd1b276fd5eadd5d8043dcc7f8ac.tar.bz2
ninja-mode: add autoload cookie for the mode itself
Diffstat (limited to 'misc')
-rw-r--r--misc/ninja-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el
index 54b9b62..9fe6fc8 100644
--- a/misc/ninja-mode.el
+++ b/misc/ninja-mode.el
@@ -34,6 +34,8 @@
;; Rule names
'("rule \\([[:alnum:]_]+\\)" . (1 font-lock-function-name-face))
))
+
+;;;###autoload
(define-derived-mode ninja-mode fundamental-mode "ninja"
(setq comment-start "#")
; Pass extra "t" to turn off syntax-based fontification -- we don't want