aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc.c b/src/doc.c
index 3dd5622d9df..93f372606a4 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -416,7 +416,7 @@ string is passed through `substitute-command-keys'. */)
416 { 416 {
417 funcar = Fcar (fun); 417 funcar = Fcar (fun);
418 if (!SYMBOLP (funcar)) 418 if (!SYMBOLP (funcar))
419 return Fsignal (Qinvalid_function, Fcons (fun, Qnil)); 419 xsignal1 (Qinvalid_function, fun);
420 else if (EQ (funcar, Qkeymap)) 420 else if (EQ (funcar, Qkeymap))
421 return build_string ("Prefix command (definition is a keymap associating keystrokes with commands)."); 421 return build_string ("Prefix command (definition is a keymap associating keystrokes with commands).");
422 else if (EQ (funcar, Qlambda) 422 else if (EQ (funcar, Qlambda)
@@ -443,7 +443,7 @@ string is passed through `substitute-command-keys'. */)
443 else 443 else
444 { 444 {
445 oops: 445 oops:
446 Fsignal (Qinvalid_function, Fcons (fun, Qnil)); 446 xsignal1 (Qinvalid_function, fun);
447 } 447 }
448 448
449 /* If DOC is 0, it's typically because of a dumped file missing 449 /* If DOC is 0, it's typically because of a dumped file missing