Tweak Fdocumentation's error for an undefined function
commit6a00914d6d4e4eaac4d4beea19570838a72a1e39
authorGlenn Morris <rgm@gnu.org>
Fri, 20 Oct 2017 23:18:23 +0000 (20 19:18 -0400)
committerGlenn Morris <rgm@gnu.org>
Fri, 20 Oct 2017 23:18:23 +0000 (20 19:18 -0400)
tree06f128732d30f24522eb6891588930fa89b9a398
parent7c63655e39dacf7263495aa3fb8429a1e2f894a6
Tweak Fdocumentation's error for an undefined function

* src/doc.c (Fdocumentation): Restore the pre-25 behavior
of signalling a void-function error for an undefined function.
This seems cleaner than Emacs 25's "invalid-function: nil" error,
which was (probably) an unintended consequence of changes to
Findirect_function.
src/doc.c