diff options
| author | Lars Ingebrigtsen | 2018-04-17 23:26:11 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-17 23:26:11 +0200 |
| commit | d2d1f39536e32dc6789ee2d26aeda05a405d47d3 (patch) | |
| tree | 97e1b0edb7b74640cc2a1d6c03d5e181c12c8a14 | |
| parent | e3b0dd6bf118c60ba41a09e3ffdce056b2e7c494 (diff) | |
| download | emacs-d2d1f39536e32dc6789ee2d26aeda05a405d47d3.tar.gz emacs-d2d1f39536e32dc6789ee2d26aeda05a405d47d3.zip | |
Revert hunk mistakenly applied in last patch
| -rw-r--r-- | lisp/progmodes/sql.el | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index ebbef8d89ee..f907a01d8cf 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -4031,16 +4031,15 @@ Writes the input history to a history file using | |||
| 4031 | 4031 | ||
| 4032 | This function is a sentinel watching the SQL interpreter process. | 4032 | This function is a sentinel watching the SQL interpreter process. |
| 4033 | Sentinels will always get the two parameters PROCESS and EVENT." | 4033 | Sentinels will always get the two parameters PROCESS and EVENT." |
| 4034 | (when (buffer-live-p (process-buffer process)) | 4034 | (with-current-buffer (process-buffer process) |
| 4035 | (with-current-buffer (process-buffer process) | 4035 | (let |
| 4036 | (let | 4036 | ((comint-input-ring-separator sql-input-ring-separator) |
| 4037 | ((comint-input-ring-separator sql-input-ring-separator) | 4037 | (comint-input-ring-file-name sql-input-ring-file-name)) |
| 4038 | (comint-input-ring-file-name sql-input-ring-file-name)) | 4038 | (comint-write-input-ring)) |
| 4039 | (comint-write-input-ring)) | 4039 | |
| 4040 | 4040 | (if (not buffer-read-only) | |
| 4041 | (if (not buffer-read-only) | 4041 | (insert (format "\nProcess %s %s\n" process event)) |
| 4042 | (insert (format "\nProcess %s %s\n" process event)) | 4042 | (message "Process %s %s" process event)))) |
| 4043 | (message "Process %s %s" process event))))) | ||
| 4044 | 4043 | ||
| 4045 | 4044 | ||
| 4046 | 4045 | ||