diff options
| -rw-r--r-- | lisp/emacs-lisp/elint.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el index 75ca3122773..f0f8add4879 100644 --- a/lisp/emacs-lisp/elint.el +++ b/lisp/emacs-lisp/elint.el | |||
| @@ -540,7 +540,8 @@ CODE can be a lambda expression, a macro, or byte-compiled code." | |||
| 540 | (defun elint-check-defcustom-form (form env) | 540 | (defun elint-check-defcustom-form (form env) |
| 541 | "Lint the defcustom FORM in ENV." | 541 | "Lint the defcustom FORM in ENV." |
| 542 | (if (and (> (length form) 3) | 542 | (if (and (> (length form) 3) |
| 543 | (evenp (length form))) ; even no. of keyword/value args | 543 | ;; even no. of keyword/value args ? |
| 544 | (zerop (logand (length form) 1))) | ||
| 544 | (elint-env-add-global-var (elint-form (nth 2 form) env) | 545 | (elint-env-add-global-var (elint-form (nth 2 form) env) |
| 545 | (car (cdr form))) | 546 | (car (cdr form))) |
| 546 | (elint-error "Malformed variable declaration: %s" form) | 547 | (elint-error "Malformed variable declaration: %s" form) |