From e4dc39bdbf3ce36cb80183daa51c81587055fabf Mon Sep 17 00:00:00 2001 From: Yasuyuki Oka Date: Tue, 21 Jan 2014 22:19:19 +0900 Subject: emacs: ELPA compatibility --- misc/ninja-mode.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el index d939206..8c6a197 100644 --- a/misc/ninja-mode.el +++ b/misc/ninja-mode.el @@ -1,3 +1,5 @@ +;;; ninja-mode.el --- Major mode for editing .ninja files + ;; Copyright 2011 Google Inc. All Rights Reserved. ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,9 +14,13 @@ ;; See the License for the specific language governing permissions and ;; limitations under the License. +;;; Commentary: + ;; Simple emacs mode for editing .ninja files. ;; Just some syntax highlighting for now. +;;; Code: + (setq ninja-keywords (list '("^#.*" . font-lock-comment-face) @@ -40,3 +46,5 @@ ;; Run ninja-mode for files ending in .ninja. ;;;###autoload (add-to-list 'auto-mode-alist '("\\.ninja$" . ninja-mode)) + +;;; ninja-mode.el ends here -- cgit v0.12