(sql-interactive-mode): Use delay-mode-hooks.
authorLute Kamstra <lute@gnu.org>
Tue, 14 Jun 2005 12:03:52 +0000 (12:03 +0000)
committerLute Kamstra <lute@gnu.org>
Tue, 14 Jun 2005 12:03:52 +0000 (12:03 +0000)
lisp/progmodes/sql.el

index add4493..9b819ce 100644 (file)
@@ -2328,7 +2328,7 @@ you entered, right above the output it created.
 
 \(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