From f0ee3ca5a92d5503268da7f9e0d71a1a58893c8a Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Sat, 20 Aug 2016 20:46:39 +0000 Subject: [PATCH] * lisp/progmodes/cc-defs.el (c-safe-scan-lists): Resolve overelaborate "nil" --- lisp/progmodes/cc-defs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index ba9f1b69c50..ab4baa247b9 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -640,7 +640,7 @@ right side of it." (let ((res (if (featurep 'xemacs) `(scan-lists ,from ,count ,depth nil t) `(c-safe (scan-lists ,from ,count ,depth))))) - (if (and limit (not (eq limit nil))) + (if limit `(save-restriction (when ,limit ,(if (numberp count) -- 2.39.2