aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index 09d94f57a8e..52cfe4ae4a3 100644
--- a/src/data.c
+++ b/src/data.c
@@ -733,6 +733,9 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0,
733{ 733{
734 register Lisp_Object function; 734 register Lisp_Object function;
735 CHECK_SYMBOL (symbol); 735 CHECK_SYMBOL (symbol);
736 /* Perhaps not quite the right error signal, but seems good enough. */
737 if (NILP (symbol))
738 xsignal1 (Qsetting_constant, symbol);
736 739
737 function = XSYMBOL (symbol)->function; 740 function = XSYMBOL (symbol)->function;
738 741