Mercurial > hg > xemacs-beta
diff lisp/bytecomp/bytecomp.el @ 153:25f70ba0133c r20-3b3
Import from CVS: tag r20-3b3
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:38:25 +0200 |
| parents | 538048ae2ab8 |
| children | 6b37e6ddd302 |
line wrap: on
line diff
--- a/lisp/bytecomp/bytecomp.el Mon Aug 13 09:37:21 2007 +0200 +++ b/lisp/bytecomp/bytecomp.el Mon Aug 13 09:38:25 2007 +0200 @@ -2246,6 +2246,17 @@ (list 'signal ''error (list 'quote (list "`domain' used inside a function" form))))) +;; This is part of bytecomp.el in 19.35: +(put 'custom-declare-variable 'byte-hunk-handler + 'byte-compile-file-form-custom-declare-variable) +(defun byte-compile-file-form-custom-declare-variable (form) + (if (memq 'free-vars byte-compile-warnings) + (setq byte-compile-bound-variables + (cons (cons (nth 1 (nth 1 form)) + byte-compile-global-bit) + byte-compile-bound-variables))) + form) + ;;;###autoload (defun byte-compile (form)
