changeset 42799:2f56e7fc793a

(sql-escape-newlines-and-send) (sql-query-placeholders-and-send): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Thu, 17 Jan 2002 01:39:49 +0000
parents dfa4a2991178
children 327786c48101
files lisp/progmodes/sql.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/sql.el	Thu Jan 17 00:47:16 2002 +0000
+++ b/lisp/progmodes/sql.el	Thu Jan 17 01:39:49 2002 +0000
@@ -1029,7 +1029,7 @@
 		  t t string)))
   (comint-send-string proc string)
   (if comint-input-sender-no-newline
-      (if (not (string-equal input ""))
+      (if (not (string-equal string ""))
 	  (process-send-eof))
     (comint-send-string proc "\n")))
 
@@ -1050,7 +1050,7 @@
     (setq result (concat result (substring string start)))
     (comint-send-string proc result)
     (if comint-input-sender-no-newline
-	(if (not (string-equal input ""))
+	(if (not (string-equal string ""))
 	    (process-send-eof))
       (comint-send-string proc "\n"))))