summaryrefslogtreecommitdiffstats
path: root/misc/ninja-mode.el
diff options
context:
space:
mode:
authorYasuyuki Oka <yasuyk@gmail.com>2014-01-21 13:19:19 (GMT)
committerYasuyuki Oka <yasuyk@gmail.com>2014-01-21 13:19:19 (GMT)
commite4dc39bdbf3ce36cb80183daa51c81587055fabf (patch)
tree33ca32c0db49f93a4ee057fb39bc7d85409108cb /misc/ninja-mode.el
parent7338dad4fdc1244a4cf2eb05e708c4e5f4ea1b68 (diff)
downloadNinja-e4dc39bdbf3ce36cb80183daa51c81587055fabf.zip
Ninja-e4dc39bdbf3ce36cb80183daa51c81587055fabf.tar.gz
Ninja-e4dc39bdbf3ce36cb80183daa51c81587055fabf.tar.bz2
emacs: ELPA compatibility
Diffstat (limited to 'misc/ninja-mode.el')
-rw-r--r--misc/ninja-mode.el8
1 files changed, 8 insertions, 0 deletions
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