changeset 62519:ad1a92f77517

(byte-compile-file-form-custom-declare-variable): Call byte-compile-nogroup-warn if appropriate.
author Richard M. Stallman <rms@gnu.org>
date Thu, 19 May 2005 15:39:21 +0000
parents 88b93ce112d1
children ee08cd4e1bf0
files lisp/emacs-lisp/bytecomp.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el	Thu May 19 15:38:27 2005 +0000
+++ b/lisp/emacs-lisp/bytecomp.el	Thu May 19 15:39:21 2005 +0000
@@ -2170,6 +2170,8 @@
 (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)))