From: Glenn Morris Date: Fri, 2 Mar 2018 01:29:23 +0000 (-0500) Subject: * lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler. X-Git-Tag: emacs-27.0.90~5578 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d3152862f43c32decc4ee730af184ee49b6e37b;p=emacs.git * lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler. --- diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index d20c579f660..9bb2cf4bdf9 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -4406,7 +4406,8 @@ The default comes from `process-coding-system-alist' and (or coding 'utf-8)) (when (string-match (format "\\.%s\\'" (car cs)) nlslang) (setq coding (cdr cs))))) - (set-buffer-process-coding-system coding coding))) + (set-process-coding-system (get-buffer-process (current-buffer)) + coding coding))) (defun sql-oracle-save-settings (sqlbuf) "Save most SQL*Plus settings so they may be reset by \\[sql-redirect]."