diff options
author | Glenn Morris <rgm@gnu.org> | 2013-02-12 20:31:09 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-02-12 20:31:09 -0800 |
commit | 01fcc3a532872b29784a4d888ab9cc1aef0eed01 (patch) | |
tree | e1fba1dfe3ec5b61ddc3e5e3824e4536b2c39429 /lisp/progmodes/compile.el | |
parent | d0009c7351874e853c63ce67cea6103f33afa60b (diff) | |
parent | 1a359750bbac95fd6bf8fe1233e747a1d26f0082 (diff) | |
download | emacs-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.el | 2 |
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 |