aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/sql.el
diff options
context:
space:
mode:
authorAndrea Corallo2020-10-04 19:45:05 +0200
committerAndrea Corallo2020-10-04 19:45:05 +0200
commit44ef24342fd8a2ac876212124ebf38673acda35a (patch)
tree793dc4ba4197559b4bc65339d713c0807a7b2ca9 /lisp/progmodes/sql.el
parentafb765ab3cab7b6582d0def543b23603cd076445 (diff)
parentd8665e6d3473403c90a0831e83439a013d0012d3 (diff)
downloademacs-44ef24342fd8a2ac876212124ebf38673acda35a.tar.gz
emacs-44ef24342fd8a2ac876212124ebf38673acda35a.zip
Merge remote-tracking branch 'savannah/master' into HEAD
Diffstat (limited to 'lisp/progmodes/sql.el')
-rw-r--r--lisp/progmodes/sql.el10
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
2809The KEYWORDS-ONLY flag is passed to font-lock to specify whether 2809The KEYWORDS-ONLY flag is passed to font-lock to specify whether
2810only keywords should be highlighted and syntactic highlighting 2810only keywords should be highlighted and syntactic highlighting
2811skipped. The IMENU flag indicates whether `imenu-mode' should 2811skipped. The IMENU flag indicates whether `imenu' should also be
2812also be configured." 2812configured."
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
4293certain length. 4293certain 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
4299Here is another example. It will always put point back to the statement 4299Here is another example. It will always put point back to the statement
4300you entered, right above the output it created. 4300you 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'.