Un-revert recent Ffset change

* src/data.c (Ffset): Reinstate the check for "nil".
This commit is contained in:
Glenn Morris 2016-12-12 15:21:48 -05:00
parent 61f8c2386c
commit ffb1302123

View file

@ -733,6 +733,9 @@ DEFUN ("fset", Ffset, Sfset, 2, 2, 0,
{
register Lisp_Object function;
CHECK_SYMBOL (symbol);
/* Perhaps not quite the right error signal, but seems good enough. */
if (NILP (symbol))
xsignal1 (Qsetting_constant, symbol);
function = XSYMBOL (symbol)->function;