]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/cc-defs.el (c-safe-scan-lists): Resolve overelaborate "nil"
authorAlan Mackenzie <acm@muc.de>
Sat, 20 Aug 2016 20:46:39 +0000 (20:46 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 20 Aug 2016 20:46:39 +0000 (20:46 +0000)
lisp/progmodes/cc-defs.el

index ba9f1b69c505b59c5b2c562804be1bf7df2633a3..ab4baa247b92a2505cf496ec0dbc50441d878333 100644 (file)
@@ -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)