aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index 4ef81f2474e..dd220987fd7 100644
--- a/src/data.c
+++ b/src/data.c
@@ -727,6 +727,11 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0,
727 if (AUTOLOADP (function)) 727 if (AUTOLOADP (function))
728 Fput (symbol, Qautoload, XCDR (function)); 728 Fput (symbol, Qautoload, XCDR (function));
729 729
730 /* Convert to eassert or remove after GC bug is found. In the
731 meantime, check unconditionally, at a slight perf hit. */
732 if (valid_lisp_object_p (definition) < 1)
733 emacs_abort ();
734
730 set_symbol_function (symbol, definition); 735 set_symbol_function (symbol, definition);
731 736
732 return definition; 737 return definition;