]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fdocumentation): Use xsignal1.
authorKim F. Storm <storm@cua.dk>
Tue, 18 Jul 2006 13:26:24 +0000 (13:26 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 18 Jul 2006 13:26:24 +0000 (13:26 +0000)
src/doc.c

index 3dd5622d9df52426517473f13b94e863c7a07b1e..93f372606a401e7a362433e5b81e60cf060bf35c 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -416,7 +416,7 @@ string is passed through `substitute-command-keys'.  */)
     {
       funcar = Fcar (fun);
       if (!SYMBOLP (funcar))
-       return Fsignal (Qinvalid_function, Fcons (fun, Qnil));
+       xsignal1 (Qinvalid_function, fun);
       else if (EQ (funcar, Qkeymap))
        return build_string ("Prefix command (definition is a keymap associating keystrokes with commands).");
       else if (EQ (funcar, Qlambda)
@@ -443,7 +443,7 @@ string is passed through `substitute-command-keys'.  */)
   else
     {
     oops:
-      Fsignal (Qinvalid_function, Fcons (fun, Qnil));
+      xsignal1 (Qinvalid_function, fun);
     }
 
   /* If DOC is 0, it's typically because of a dumped file missing