summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-02-12 20:31:09 -0800
committerGlenn Morris <rgm@gnu.org>2013-02-12 20:31:09 -0800
commit01fcc3a532872b29784a4d888ab9cc1aef0eed01 (patch)
treee1fba1dfe3ec5b61ddc3e5e3824e4536b2c39429 /lisp/progmodes/compile.el
parentd0009c7351874e853c63ce67cea6103f33afa60b (diff)
parent1a359750bbac95fd6bf8fe1233e747a1d26f0082 (diff)
downloademacs-01fcc3a532872b29784a4d888ab9cc1aef0eed01.tar.gz
emacs-01fcc3a532872b29784a4d888ab9cc1aef0eed01.tar.bz2
emacs-01fcc3a532872b29784a4d888ab9cc1aef0eed01.zip
Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index d2a9617e28e..9e9e2f0b090 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1949,7 +1949,7 @@ Runs `compilation-mode-hook' with `run-mode-hooks' (which see).
"This is like `define-derived-mode' without the PARENT argument.
The parent is always `compilation-mode' and the customizable `compilation-...'
variables are also set from the name of the mode you have chosen,
-by replacing the first word, e.g `compilation-scroll-output' from
+by replacing the first word, e.g., `compilation-scroll-output' from
`grep-scroll-output' if that variable exists."
(let ((mode-name (replace-regexp-in-string "-mode\\'" "" (symbol-name mode))))
`(define-derived-mode ,mode compilation-mode ,name