summaryrefslogtreecommitdiff
path: root/lisp/textmodes/table.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-09-30 16:02:22 +0200
committerStefan Kangas <stefan@marxist.se>2020-10-01 15:28:14 +0200
commit6cbc253aa0580e2f242551500764bba9780e669d (patch)
tree68ef7b95a92c69848199a0f2933b9d61cec85cc2 /lisp/textmodes/table.el
parent6a4b931c215c5c449833c784a9214f727d641a37 (diff)
downloademacs-6cbc253aa0580e2f242551500764bba9780e669d.tar.gz
emacs-6cbc253aa0580e2f242551500764bba9780e669d.tar.bz2
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/textmodes/table.el')
-rw-r--r--lisp/textmodes/table.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el
index c7bf687a9e1..391e7570b5f 100644
--- a/lisp/textmodes/table.el
+++ b/lisp/textmodes/table.el
@@ -339,8 +339,8 @@
;; When using `table-cell-map-hook' do not use `local-set-key'.
;;
;; (add-hook 'table-cell-map-hook
-;; (function (lambda ()
-;; (local-set-key [<key sequence>] '<function>))))
+;; (lambda ()
+;; (local-set-key [<key sequence>] '<function>)))
;;
;; Adding the above to your init file is a common way to customize a
;; mode specific keymap. However it does not work for this package.
@@ -349,8 +349,8 @@
;; explicitly. The correct way of achieving above task is:
;;
;; (add-hook 'table-cell-map-hook
-;; (function (lambda ()
-;; (define-key table-cell-map [<key sequence>] '<function>))))
+;; (lambda ()
+;; (define-key table-cell-map [<key sequence>] '<function>)))
;;
;; -----
;; Menu: