summaryrefslogtreecommitdiffstats
path: root/tools/emacs
diff options
context:
space:
mode:
authorStefan Zager <szager@chromium.org>2014-12-08 13:52:12 -0800
committerStefan Zager <szager@chromium.org>2014-12-08 21:53:13 +0000
commit629d7c940346b6e707f35d55f7a50e99a650e5c0 (patch)
treec05cefaac639e596a4e10e7b39c80ac1ce87ce59 /tools/emacs
parent9b0708796170c059f44e78cd8514970d61c0c3b5 (diff)
downloadchromium_src-629d7c940346b6e707f35d55f7a50e99a650e5c0.zip
chromium_src-629d7c940346b6e707f35d55f7a50e99a650e5c0.tar.gz
chromium_src-629d7c940346b6e707f35d55f7a50e99a650e5c0.tar.bz2
Fix defun syntax for cr-compile.
BUG= TBR=erg@chromium.org Review URL: https://codereview.chromium.org/787723003 Cr-Commit-Position: refs/heads/master@{#307343}
Diffstat (limited to 'tools/emacs')
-rw-r--r--tools/emacs/flymake-chromium.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/emacs/flymake-chromium.el b/tools/emacs/flymake-chromium.el
index 72fc560..91aac41 100644
--- a/tools/emacs/flymake-chromium.el
+++ b/tools/emacs/flymake-chromium.el
@@ -113,6 +113,8 @@
(kill-local-variable 'flymake-allowed-file-name-masks))))
(defun cr-compile ()
+ "Run the interactive compile command with the working directory
+ set to src/."
(interactive)
(let ((default-directory (cr-flymake-chromium-src)))
(call-interactively 'compile)))