summaryrefslogtreecommitdiff
path: root/doc/misc/calc.texi
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 /doc/misc/calc.texi
parent6a4b931c215c5c449833c784a9214f727d641a37 (diff)
downloademacs-6cbc253aa0580e2f242551500764bba9780e669d.tar.gz
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 'doc/misc/calc.texi')
-rw-r--r--doc/misc/calc.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 1dab29b8a5a..a356cecf2b7 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -34743,15 +34743,15 @@ is defined by
@smallexample
(put 'calcFunc-ln\' 'math-derivative-1
- (function (lambda (u) (math-div 1 u))))
+ (lambda (u) (math-div 1 u)))
@end smallexample
The two-argument @code{log} function has two derivatives,
@smallexample
(put 'calcFunc-log\' 'math-derivative-2 ; d(log(x,b)) / dx
- (function (lambda (x b) ... )))
+ (lambda (x b) ... ))
(put 'calcFunc-log\'2 'math-derivative-2 ; d(log(x,b)) / db
- (function (lambda (x b) ... )))
+ (lambda (x b) ... ))
@end smallexample
@end defun
@@ -34818,7 +34818,7 @@ as properties in a manner similar to derivatives:
@smallexample
(put 'calcFunc-ln 'math-inverse
- (function (lambda (x) (list 'calcFunc-exp x))))
+ (lambda (x) (list 'calcFunc-exp x)))
@end smallexample
This function can call @samp{(math-solve-get-sign @var{x})} to create