[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 [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/elint.el [lexbind] |
Date: |
Thu, 20 Nov 2003 19:36:35 -0500 |
Index: emacs/lisp/emacs-lisp/elint.el
diff -c emacs/lisp/emacs-lisp/elint.el:1.5.4.2
emacs/lisp/emacs-lisp/elint.el:1.5.4.3
*** emacs/lisp/emacs-lisp/elint.el:1.5.4.2 Tue Oct 14 19:32:21 2003
--- emacs/lisp/emacs-lisp/elint.el Thu Nov 20 19:36:07 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 [lexbind],
Miles Bader <=