diff options
Diffstat (limited to 'lisp/progmodes/sql.el')
| -rw-r--r-- | lisp/progmodes/sql.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index c31c5ddd87e..bfef2a663a0 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -2808,8 +2808,8 @@ See `sql-product-alist' for a list of products and supported features." | |||
| 2808 | 2808 | ||
| 2809 | The KEYWORDS-ONLY flag is passed to font-lock to specify whether | 2809 | The KEYWORDS-ONLY flag is passed to font-lock to specify whether |
| 2810 | only keywords should be highlighted and syntactic highlighting | 2810 | only keywords should be highlighted and syntactic highlighting |
| 2811 | skipped. The IMENU flag indicates whether `imenu-mode' should | 2811 | skipped. The IMENU flag indicates whether `imenu' should also be |
| 2812 | also be configured." | 2812 | configured." |
| 2813 | 2813 | ||
| 2814 | (let | 2814 | (let |
| 2815 | ;; Get the product-specific syntax-alist. | 2815 | ;; Get the product-specific syntax-alist. |
| @@ -4293,14 +4293,14 @@ Here is an example for your init file. It keeps the SQLi buffer a | |||
| 4293 | certain length. | 4293 | certain length. |
| 4294 | 4294 | ||
| 4295 | \(add-hook \\='sql-interactive-mode-hook | 4295 | \(add-hook \\='sql-interactive-mode-hook |
| 4296 | (function (lambda () | 4296 | (lambda () |
| 4297 | (setq comint-output-filter-functions #\\='comint-truncate-buffer)))) | 4297 | (setq comint-output-filter-functions #\\='comint-truncate-buffer))) |
| 4298 | 4298 | ||
| 4299 | Here is another example. It will always put point back to the statement | 4299 | Here is another example. It will always put point back to the statement |
| 4300 | you entered, right above the output it created. | 4300 | you entered, right above the output it created. |
| 4301 | 4301 | ||
| 4302 | \(setq comint-output-filter-functions | 4302 | \(setq comint-output-filter-functions |
| 4303 | (function (lambda (STR) (comint-show-output))))" | 4303 | (lambda (STR) (comint-show-output)))" |
| 4304 | :syntax-table sql-mode-syntax-table | 4304 | :syntax-table sql-mode-syntax-table |
| 4305 | ;; FIXME: The doc above uses `setq' on `comint-output-filter-functions', | 4305 | ;; FIXME: The doc above uses `setq' on `comint-output-filter-functions', |
| 4306 | ;; whereas hooks should be manipulated with things like `add/remove-hook'. | 4306 | ;; whereas hooks should be manipulated with things like `add/remove-hook'. |