diff options
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 3800cfb6b15..18f445ca5cf 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -3799,7 +3799,7 @@ Note that SQL doesn't have an escape character unless you specify | |||
| 3799 | one. If you specify backslash as escape character in SQL, you | 3799 | one. If you specify backslash as escape character in SQL, you |
| 3800 | must tell Emacs. Here's how to do that in your init file: | 3800 | must tell Emacs. Here's how to do that in your init file: |
| 3801 | 3801 | ||
| 3802 | \(add-hook 'sql-mode-hook | 3802 | \(add-hook \\='sql-mode-hook |
| 3803 | (lambda () | 3803 | (lambda () |
| 3804 | (modify-syntax-entry ?\\\\ \".\" sql-mode-syntax-table)))" | 3804 | (modify-syntax-entry ?\\\\ \".\" sql-mode-syntax-table)))" |
| 3805 | :group 'SQL | 3805 | :group 'SQL |
| @@ -3896,9 +3896,9 @@ If you want to make SQL buffers limited in length, add the function | |||
| 3896 | Here is an example for your init file. It keeps the SQLi buffer a | 3896 | Here is an example for your init file. It keeps the SQLi buffer a |
| 3897 | certain length. | 3897 | certain length. |
| 3898 | 3898 | ||
| 3899 | \(add-hook 'sql-interactive-mode-hook | 3899 | \(add-hook \\='sql-interactive-mode-hook |
| 3900 | \(function (lambda () | 3900 | \(function (lambda () |
| 3901 | \(setq comint-output-filter-functions 'comint-truncate-buffer)))) | 3901 | \(setq comint-output-filter-functions \\='comint-truncate-buffer)))) |
| 3902 | 3902 | ||
| 3903 | Here is another example. It will always put point back to the statement | 3903 | Here is another example. It will always put point back to the statement |
| 3904 | you entered, right above the output it created. | 3904 | you entered, right above the output it created. |
| @@ -4276,7 +4276,7 @@ passed as command line arguments." | |||
| 4276 | ;; work for remote hosts; we suppress the check there. | 4276 | ;; work for remote hosts; we suppress the check there. |
| 4277 | (unless (or (file-remote-p default-directory) | 4277 | (unless (or (file-remote-p default-directory) |
| 4278 | (executable-find program)) | 4278 | (executable-find program)) |
| 4279 | (error "Unable to locate SQL program \'%s\'" program)) | 4279 | (error "Unable to locate SQL program ‘%s’" program)) |
| 4280 | ;; Make sure buffer name is unique. | 4280 | ;; Make sure buffer name is unique. |
| 4281 | (when (sql-buffer-live-p (format "*%s*" buf-name)) | 4281 | (when (sql-buffer-live-p (format "*%s*" buf-name)) |
| 4282 | (setq buf-name (format "SQL-%s" product)) | 4282 | (setq buf-name (format "SQL-%s" product)) |