projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d42584
)
ninja-mode: add autoload cookie for the mode itself
author
Steve Purcell
<steve@sanityinc.com>
Wed, 22 Jan 2014 12:01:16 +0000
(12:01 +0000)
committer
Steve Purcell
<steve@sanityinc.com>
Wed, 22 Jan 2014 12:01:16 +0000
(12:01 +0000)
misc/ninja-mode.el
patch
|
blob
|
history
diff --git
a/misc/ninja-mode.el
b/misc/ninja-mode.el
index
54b9b62
..
9fe6fc8
100644
(file)
--- 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