aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Kangas2020-09-30 16:02:22 +0200
committerStefan Kangas2020-10-01 15:28:14 +0200
commit6cbc253aa0580e2f242551500764bba9780e669d (patch)
tree68ef7b95a92c69848199a0f2933b9d61cec85cc2 /lisp/progmodes
parent6a4b931c215c5c449833c784a9214f727d641a37 (diff)
downloademacs-6cbc253aa0580e2f242551500764bba9780e669d.tar.gz
emacs-6cbc253aa0580e2f242551500764bba9780e669d.zip
Don't recommend quoting lambdas
* doc/misc/calc.texi (Symbolic Lisp Functions): * doc/misc/cl.texi (Obsolete Lexical Binding): * lisp/master.el: * lisp/progmodes/sql.el (sql-interactive-mode): * lisp/textmodes/flyspell.el (flyspell-mode): * lisp/textmodes/ispell.el (ispell-message): * lisp/textmodes/table.el: Doc fixes; don't recommend quoting lambdas.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/sql.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index c31c5ddd87e..7aa7d6410ea 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -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'.