diff options
author | Evan Martin <martine@danga.com> | 2012-04-28 16:06:28 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-04-28 16:06:55 (GMT) |
commit | 8066c2d1bb5821077450755d774121e0205cb790 (patch) | |
tree | 7370ce9db1f01e781938a572d469e6d1eff5ca00 | |
parent | 15ab6542b6faaf6e16cd14de24a88119ce463b2d (diff) | |
download | Ninja-8066c2d1bb5821077450755d774121e0205cb790.zip Ninja-8066c2d1bb5821077450755d774121e0205cb790.tar.gz Ninja-8066c2d1bb5821077450755d774121e0205cb790.tar.bz2 |
emacs: hook up ninja-mode to extension
-rw-r--r-- | misc/ninja-mode.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index ff62e92..44fc82b 100644 --- a/misc/ninja-mode.el +++ b/misc/ninja-mode.el @@ -35,3 +35,7 @@ ) (provide 'ninja-mode) + +;; Run ninja-mode for files ending in .ninja. +;;;###autoload +(add-to-list 'auto-mode-alist '("\\.ninja$" . ninja-mode)) |