aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-01-17 01:39:49 +0000
committerRichard M. Stallman2002-01-17 01:39:49 +0000
commit754dfe82dc8764393872a33982e2efe9c70211ab (patch)
treef447de85733547f27591836ca7911d8d8470adfc
parent3ddff1383522ecb71800c1ecf418857fd36640a2 (diff)
downloademacs-754dfe82dc8764393872a33982e2efe9c70211ab.tar.gz
emacs-754dfe82dc8764393872a33982e2efe9c70211ab.zip
(sql-escape-newlines-and-send)
(sql-query-placeholders-and-send): Fix previous change.
-rw-r--r--lisp/progmodes/sql.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index 990576667ad..fb33db00681 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -1029,7 +1029,7 @@ This function is used for `comint-input-sender' if using `sql-oracle' on NT."
1029 t t string))) 1029 t t string)))
1030 (comint-send-string proc string) 1030 (comint-send-string proc string)
1031 (if comint-input-sender-no-newline 1031 (if comint-input-sender-no-newline
1032 (if (not (string-equal input "")) 1032 (if (not (string-equal string ""))
1033 (process-send-eof)) 1033 (process-send-eof))
1034 (comint-send-string proc "\n"))) 1034 (comint-send-string proc "\n")))
1035 1035
@@ -1050,7 +1050,7 @@ Every newline in STRING will be preceded with a space and a backslash."
1050 (setq result (concat result (substring string start))) 1050 (setq result (concat result (substring string start)))
1051 (comint-send-string proc result) 1051 (comint-send-string proc result)
1052 (if comint-input-sender-no-newline 1052 (if comint-input-sender-no-newline
1053 (if (not (string-equal input "")) 1053 (if (not (string-equal string ""))
1054 (process-send-eof)) 1054 (process-send-eof))
1055 (comint-send-string proc "\n")))) 1055 (comint-send-string proc "\n"))))
1056 1056