changeset 52880:9417a94488d3

(elint-check-defcustom-form): Don't use `evenp' so we don't implicitly require cl library at runtime.
author John Paul Wallington <jpw@pobox.com>
date Mon, 20 Oct 2003 17:16:16 +0000
parents 0267e2def60b
children a2ef3d8f83d4
files lisp/emacs-lisp/elint.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/elint.el	Mon Oct 20 17:15:19 2003 +0000
+++ b/lisp/emacs-lisp/elint.el	Mon Oct 20 17:16:16 2003 +0000
@@ -540,7 +540,8 @@
 (defun elint-check-defcustom-form (form env)
   "Lint the defcustom FORM in ENV."
   (if (and (> (length form) 3)
-	   (evenp (length form)))	; even no. of keyword/value args
+	   ;; even no. of keyword/value args ?
+	   (zerop (logand (length form) 1)))
       (elint-env-add-global-var (elint-form (nth 2 form) env)
 				(car (cdr form)))
     (elint-error "Malformed variable declaration: %s" form)