summaryrefslogtreecommitdiff
path: root/lisp/progmodes/compile.el
diff options
context:
space:
mode:
authorSam Steingold <sds@gnu.org>2009-02-18 15:37:40 +0000
committerSam Steingold <sds@gnu.org>2009-02-18 15:37:40 +0000
commit72fcf38256aa4e21301e536c90bda148023d9ab5 (patch)
treee1d9051f7576659221a095d6f2e9877e7ec263f0 /lisp/progmodes/compile.el
parentc19aae894a0f873f259701e912224bf4831dec7a (diff)
downloademacs-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.el3
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)