diff options
| author | Lars Ingebrigtsen | 2018-04-17 23:14:55 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2018-04-17 23:14:55 +0200 |
| commit | e3b0dd6bf118c60ba41a09e3ffdce056b2e7c494 (patch) | |
| tree | f0f8c6101513fa2175d0e898dc946800fb6d0d28 /lisp/progmodes/sql.el | |
| parent | f10fa789ca8f0feff0e85df3624270604ed54dd6 (diff) | |
| download | emacs-e3b0dd6bf118c60ba41a09e3ffdce056b2e7c494.tar.gz emacs-e3b0dd6bf118c60ba41a09e3ffdce056b2e7c494.zip | |
Fix problem in `g' in Info with strings like "(foo)"
* lisp/info.el (Info-find-file): Add a new parameter to avoid
jumping to the directory if the user looks for a filename on the
form "(foo)" that doesn't exist.
(Info-read-node-name-1): Use it to allow completing over strings
like "(foo)" without losing focus (bug#30091).
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index f907a01d8cf..ebbef8d89ee 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -4031,15 +4031,16 @@ 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 | (with-current-buffer (process-buffer process) | 4034 | (when (buffer-live-p (process-buffer process)) |
| 4035 | (let | 4035 | (with-current-buffer (process-buffer process) |
| 4036 | ((comint-input-ring-separator sql-input-ring-separator) | 4036 | (let |
| 4037 | (comint-input-ring-file-name sql-input-ring-file-name)) | 4037 | ((comint-input-ring-separator sql-input-ring-separator) |
| 4038 | (comint-write-input-ring)) | 4038 | (comint-input-ring-file-name sql-input-ring-file-name)) |
| 4039 | 4039 | (comint-write-input-ring)) | |
| 4040 | (if (not buffer-read-only) | 4040 | |
| 4041 | (insert (format "\nProcess %s %s\n" process event)) | 4041 | (if (not buffer-read-only) |
| 4042 | (message "Process %s %s" process event)))) | 4042 | (insert (format "\nProcess %s %s\n" process event)) |
| 4043 | (message "Process %s %s" process event))))) | ||
| 4043 | 4044 | ||
| 4044 | 4045 | ||
| 4045 | 4046 | ||