diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-05-19 15:39:21 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-05-19 15:39:21 +0000 |
commit | fe33e7c83c02477becbf965733d7d817c8ec331a (patch) | |
tree | 095f53a0c10f839baaf0ad11f03bae8040913059 /lisp/emacs-lisp/bytecomp.el | |
parent | 3c9e7f42ca27ea042c16c034155fd429d96c74ca (diff) | |
download | emacs-fe33e7c83c02477becbf965733d7d817c8ec331a.tar.gz |
(byte-compile-file-form-custom-declare-variable):
Call byte-compile-nogroup-warn if appropriate.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-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. (put 'custom-declare-variable 'byte-hunk-handler 'byte-compile-file-form-custom-declare-variable) (defun byte-compile-file-form-custom-declare-variable (form) + (when (memq 'callargs byte-compile-warnings) + (byte-compile-nogroup-warn form)) (when (memq 'free-vars byte-compile-warnings) (push (nth 1 (nth 1 form)) byte-compile-bound-variables)) (let ((tail (nthcdr 4 form))) |