diff options
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 970a64d062b..ac6093a4660 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el | |||
| @@ -2170,6 +2170,8 @@ list that represents a doc string reference. | |||
| 2170 | (put 'custom-declare-variable 'byte-hunk-handler | 2170 | (put 'custom-declare-variable 'byte-hunk-handler |
| 2171 | 'byte-compile-file-form-custom-declare-variable) | 2171 | 'byte-compile-file-form-custom-declare-variable) |
| 2172 | (defun byte-compile-file-form-custom-declare-variable (form) | 2172 | (defun byte-compile-file-form-custom-declare-variable (form) |
| 2173 | (when (memq 'callargs byte-compile-warnings) | ||
| 2174 | (byte-compile-nogroup-warn form)) | ||
| 2173 | (when (memq 'free-vars byte-compile-warnings) | 2175 | (when (memq 'free-vars byte-compile-warnings) |
| 2174 | (push (nth 1 (nth 1 form)) byte-compile-bound-variables)) | 2176 | (push (nth 1 (nth 1 form)) byte-compile-bound-variables)) |
| 2175 | (let ((tail (nthcdr 4 form))) | 2177 | (let ((tail (nthcdr 4 form))) |