summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorYasuyuki Oka <yasuyk@gmail.com>2014-01-21 13:29:41 (GMT)
committerYasuyuki Oka <yasuyk@gmail.com>2014-01-21 13:29:41 (GMT)
commit8596ba60814f2ca57bf4969253b09807b4f3cac4 (patch)
treedbc4ee5cb3c7d602ac12f012496f3c846d94e26e /misc
parent7338dad4fdc1244a4cf2eb05e708c4e5f4ea1b68 (diff)
downloadNinja-8596ba60814f2ca57bf4969253b09807b4f3cac4.zip
Ninja-8596ba60814f2ca57bf4969253b09807b4f3cac4.tar.gz
Ninja-8596ba60814f2ca57bf4969253b09807b4f3cac4.tar.bz2
emacs: Fix a warning
Fix a following byte-compile warning: ninja-mode.el:18:7:Warning: assignment to free variable `ninja-keywords'
Diffstat (limited to 'misc')
-rw-r--r--misc/ninja-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ninja-mode.el b/misc/ninja-mode.el
index d939206..cd31be6 100644
--- a/misc/ninja-mode.el
+++ b/misc/ninja-mode.el
@@ -15,7 +15,7 @@
;; Simple emacs mode for editing .ninja files.
;; Just some syntax highlighting for now.
-(setq ninja-keywords
+(defvar ninja-keywords
(list
'("^#.*" . font-lock-comment-face)
(cons (concat "^" (regexp-opt '("rule" "build" "subninja" "include"