aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Steingold2009-02-18 15:37:40 +0000
committerSam Steingold2009-02-18 15:37:40 +0000
commit72fcf38256aa4e21301e536c90bda148023d9ab5 (patch)
treee1d9051f7576659221a095d6f2e9877e7ec263f0
parentc19aae894a0f873f259701e912224bf4831dec7a (diff)
downloademacs-72fcf38256aa4e21301e536c90bda148023d9ab5.tar.gz
emacs-72fcf38256aa4e21301e536c90bda148023d9ab5.zip
Require comint at top level to fix the last patch.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/compile.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e8221abc9df..c64ad36bbee 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-02-18 Sam Steingold <sds@gnu.org>
2
3 * progmodes/compile.el: Require comint at top level to fix the
4 last patch.
5
12009-02-18 Martin Rudalics <rudalics@gmx.at> 62009-02-18 Martin Rudalics <rudalics@gmx.at>
2 7
3 * cus-edit.el (custom-group-value-create): Don't throw an error 8 * cus-edit.el (custom-group-value-create): Don't throw an error
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 @@
72 72
73(eval-when-compile (require 'cl)) 73(eval-when-compile (require 'cl))
74(require 'tool-bar) 74(require 'tool-bar)
75(require 'comint)
75 76
76(defvar font-lock-extra-managed-props) 77(defvar font-lock-extra-managed-props)
77(defvar font-lock-keywords) 78(defvar font-lock-keywords)
@@ -1155,7 +1156,7 @@ Returns the compilation buffer created."
1155 (or mode (setq mode 'compilation-mode)) 1156 (or mode (setq mode 'compilation-mode))
1156 (let* ((name-of-mode 1157 (let* ((name-of-mode
1157 (if (eq mode t) 1158 (if (eq mode t)
1158 (prog1 "compilation" (require 'comint)) 1159 "compilation"
1159 (replace-regexp-in-string "-mode$" "" (symbol-name mode)))) 1160 (replace-regexp-in-string "-mode$" "" (symbol-name mode))))
1160 (thisdir default-directory) 1161 (thisdir default-directory)
1161 outwin outbuf) 1162 outwin outbuf)