Un-revert recent Ffset change
* src/data.c (Ffset): Reinstate the check for "nil".
This commit is contained in:
parent
61f8c2386c
commit
ffb1302123
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue