Mercurial > emacs
changeset 36469:30b2f9d3d959
(defvar): Wrap some defvars in
eval-when-compile. From Markus Rost <rost@math.ohio-state.edu>.
author | Dave Love <fx@gnu.org> |
---|---|
date | Thu, 01 Mar 2001 18:42:27 +0000 |
parents | 80a057b7576b |
children | 67c8e0a89b2d |
files | lisp/textmodes/reftex.el |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/reftex.el Thu Mar 01 18:30:44 2001 +0000 +++ b/lisp/textmodes/reftex.el Thu Mar 01 18:42:27 2001 +0000 @@ -415,14 +415,15 @@ ;;; ========================================================================= ;;; ;;; Silence warnings about variables in other packages. -(defvar TeX-master) -(defvar LaTeX-section-hook) -(defvar LaTeX-label-function) -(defvar tex-main-file) -(defvar outline-minor-mode) -(defvar font-lock-mode) -(defvar font-lock-fontify-region-function) -(defvar font-lock-syntactic-keywords) +(eval-when-compile + (defvar TeX-master) + (defvar LaTeX-section-hook) + (defvar LaTeX-label-function) + (defvar tex-main-file) + (defvar outline-minor-mode) + (defvar font-lock-mode) + (defvar font-lock-fontify-region-function) + (defvar font-lock-syntactic-keywords)) ;;; ========================================================================= ;;;