From: Steve Purcell Date: Wed, 22 Jan 2014 12:01:16 +0000 (+0000) Subject: ninja-mode: add autoload cookie for the mode itself X-Git-Tag: v1.5.0^2~39^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b9fefbdd471bd1b276fd5eadd5d8043dcc7f8ac;p=platform%2Fupstream%2Fninja.git ninja-mode: add autoload cookie for the mode itself --- 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