[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/elint.el
From: |
John Paul Wallington |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/elint.el |
Date: |
Mon, 20 Oct 2003 13:16:17 -0400 |
Index: emacs/lisp/emacs-lisp/elint.el
diff -c emacs/lisp/emacs-lisp/elint.el:1.7 emacs/lisp/emacs-lisp/elint.el:1.8
*** emacs/lisp/emacs-lisp/elint.el:1.7 Mon Sep 1 11:45:22 2003
--- emacs/lisp/emacs-lisp/elint.el Mon Oct 20 13:16:16 2003
***************
*** 540,546 ****
(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
(elint-env-add-global-var (elint-form (nth 2 form) env)
(car (cdr form)))
(elint-error "Malformed variable declaration: %s" form)
--- 540,547 ----
(defun elint-check-defcustom-form (form env)
"Lint the defcustom FORM in ENV."
(if (and (> (length form) 3)
! ;; 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/elint.el,
John Paul Wallington <=