From ffb1302123610699424d79b96352a9ad16d2b048 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 12 Dec 2016 15:21:48 -0500 Subject: [PATCH] Un-revert recent Ffset change * src/data.c (Ffset): Reinstate the check for "nil". --- src/data.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.2