From: Glenn Morris Date: Mon, 12 Dec 2016 20:21:48 +0000 (-0500) Subject: Un-revert recent Ffset change X-Git-Tag: emacs-26.0.90~1122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ffb1302123610699424d79b96352a9ad16d2b048;p=emacs.git Un-revert recent Ffset change * src/data.c (Ffset): Reinstate the check for "nil". --- 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, { 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;