diff lisp/emacs-lisp/bytecomp.el @ 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 150380a7c3d6
children d419c1ab3f39 21eea50897a7 f042e7c0fe20
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)))