nil nil nil sql-placeholder-history)
t t string)))
(comint-send-string proc string)
- (comint-send-string proc "\n"))
+ (if comint-input-sender-no-newline
+ (if (not (string-equal input ""))
+ (process-send-eof))
+ (comint-send-string proc "\n")))
;; Using DB2 interactively, newlines must be escaped with " \".
;; The space before the backslash is relevant.
(setq start me))
(setq result (concat result (substring string start)))
(comint-send-string proc result)
- (comint-send-string proc "\n")))
+ (if comint-input-sender-no-newline
+ (if (not (string-equal input ""))
+ (process-send-eof))
+ (comint-send-string proc "\n"))))
\f