Commit 0499294a authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen
Browse files

Tweak example in Function Indirection node in the lispref manual

* doc/lispref/eval.texi (Function Indirection): Make example more
robust (bug#49647).  Suggested by Scott Marks
parent e02576c7
Pipeline #11492 failed with stages
in 48 seconds
......@@ -350,7 +350,8 @@ Here is how you could define @code{indirect-function} in Lisp:
(defun indirect-function (function)
(if (symbolp function)
(if (and function
(symbolp function))
(indirect-function (symbol-function function))
@end example
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment