changeset 63410:37dd5dc2f5ae

(sql-interactive-mode): Use delay-mode-hooks.
author Lute Kamstra <lute@gnu.org>
date Tue, 14 Jun 2005 12:03:52 +0000
parents 457c6356af08
children 1244410f3457
files lisp/progmodes/sql.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sql.el	Tue Jun 14 12:02:42 2005 +0000
+++ b/lisp/progmodes/sql.el	Tue Jun 14 12:03:52 2005 +0000
@@ -2328,7 +2328,7 @@
 
 \(setq comint-output-filter-functions
        \(function (lambda (STR) (comint-show-output))))"
-  (comint-mode)
+  (delay-mode-hooks (comint-mode))
   ;; Get the `sql-product' for this interactive session.
   (set (make-local-variable 'sql-product)
        (or sql-interactive-product