[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7d31528 3/4: * lisp/progmodes/sql.el (sql-comint-or
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 7d31528 3/4: * lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler. |
Date: |
Thu, 1 Mar 2018 20:32:59 -0500 (EST) |
branch: master
commit 7d3152862f43c32decc4ee730af184ee49b6e37b
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
* lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler.
---
lisp/progmodes/sql.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index d20c579..9bb2cf4 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]."