diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-01-17 01:39:49 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-01-17 01:39:49 +0000 |
commit | 754dfe82dc8764393872a33982e2efe9c70211ab (patch) | |
tree | f447de85733547f27591836ca7911d8d8470adfc /lisp/progmodes/sql.el | |
parent | 3ddff1383522ecb71800c1ecf418857fd36640a2 (diff) | |
download | emacs-754dfe82dc8764393872a33982e2efe9c70211ab.tar.gz |
(sql-escape-newlines-and-send)
(sql-query-placeholders-and-send): Fix previous change.
Diffstat (limited to 'lisp/progmodes/sql.el')
-rw-r--r-- | lisp/progmodes/sql.el | 4 |
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." 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 @@ Every newline in STRING will be preceded with a space and a backslash." (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")))) |