diff options
author | Sam Steingold <sds@gnu.org> | 2009-02-18 15:37:40 +0000 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2009-02-18 15:37:40 +0000 |
commit | 72fcf38256aa4e21301e536c90bda148023d9ab5 (patch) | |
tree | e1d9051f7576659221a095d6f2e9877e7ec263f0 /lisp/progmodes/compile.el | |
parent | c19aae894a0f873f259701e912224bf4831dec7a (diff) | |
download | emacs-72fcf38256aa4e21301e536c90bda148023d9ab5.tar.gz |
Require comint at top level to fix the last patch.
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r-- | lisp/progmodes/compile.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 47b21286c97..00bd33bc39c 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -72,6 +72,7 @@ (eval-when-compile (require 'cl)) (require 'tool-bar) +(require 'comint) (defvar font-lock-extra-managed-props) (defvar font-lock-keywords) @@ -1155,7 +1156,7 @@ Returns the compilation buffer created." (or mode (setq mode 'compilation-mode)) (let* ((name-of-mode (if (eq mode t) - (prog1 "compilation" (require 'comint)) + "compilation" (replace-regexp-in-string "-mode$" "" (symbol-name mode)))) (thisdir default-directory) outwin outbuf) |