+2008-03-20 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * textmodes/refbib.el:
+ * textmodes/reftex.el:
+ * textmodes/reftex-global.el:
+ * textmodes/reftex-vars.el:
+ * textmodes/reftex-toc.el: Don't use eval-and-compile for byte
+ compiler pacifying defvars.
+ (reftex-toc-mode): Only make zmacs-regions local on XEmacs.
+ * textmodes/reftex-index.el (zmacs-regions): Remove pacifier, not
+ needed.
+
2008-03-20 Wilson Snyder <wsnyder@wsnyder.org>
* progmodes/verilog-mode.el (verilog-easy-menu-filter): New
(defvar r2b-error-found nil)
-(eval-when-compile
- (defvar r2b-variables) (defvar r2bv-address) (defvar r2bv-annote)
- (defvar r2bv-author) (defvar r2bv-booktitle) (defvar r2bv-date)
- (defvar r2bv-decade) (defvar r2bv-editor) (defvar r2bv-entry-kind)
- (defvar r2bv-institution) (defvar r2bv-journal) (defvar r2bv-keywords)
- (defvar r2bv-kn) (defvar r2bv-month) (defvar r2bv-note)
- (defvar r2bv-number) (defvar r2bv-ordering) (defvar r2bv-organization)
- (defvar r2bv-pages) (defvar r2bv-primary-author) (defvar r2bv-publisher)
- (defvar r2bv-school) (defvar r2bv-title) (defvar r2bv-title-first-word)
- (defvar r2bv-tr) (defvar r2bv-type) (defvar r2bv-volume)
- (defvar r2bv-where) (defvar r2bv-year))
+(defvar r2b-variables) (defvar r2bv-address) (defvar r2bv-annote)
+(defvar r2bv-author) (defvar r2bv-booktitle) (defvar r2bv-date)
+(defvar r2bv-decade) (defvar r2bv-editor) (defvar r2bv-entry-kind)
+(defvar r2bv-institution) (defvar r2bv-journal) (defvar r2bv-keywords)
+(defvar r2bv-kn) (defvar r2bv-month) (defvar r2bv-note)
+(defvar r2bv-number) (defvar r2bv-ordering) (defvar r2bv-organization)
+(defvar r2bv-pages) (defvar r2bv-primary-author) (defvar r2bv-publisher)
+(defvar r2bv-school) (defvar r2bv-title) (defvar r2bv-title-first-word)
+(defvar r2bv-tr) (defvar r2bv-type) (defvar r2bv-volume)
+(defvar r2bv-where) (defvar r2bv-year)
(setq r2b-variables '(
r2b-error-found
(tags-query-replace from to (or delimited current-prefix-arg)
(list 'reftex-all-document-files))))
-(eval-when-compile
- (defvar TeX-master)
- (defvar isearch-next-buffer-function))
+(defvar TeX-master)
+(defvar isearch-next-buffer-function)
(defun reftex-find-duplicate-labels ()
"Produce a list of all duplicate labels in the document."
;; START remove for XEmacs release
(defvar mark-active)
-(defvar zmacs-regions)
(defvar transient-mark-mode)
(defvar TeX-master)
;; END remove for XEmacs release
"Keymap used for *toc* buffer.")
(defvar reftex-toc-menu)
-(eval-when-compile (defvar zmacs-regions))
(defvar reftex-last-window-height nil)
(defvar reftex-last-window-width nil)
(defvar reftex-toc-include-labels-indicator nil)
mode-name "TOC")
(use-local-map reftex-toc-map)
(set (make-local-variable 'transient-mark-mode) t)
- (set (make-local-variable 'zmacs-regions) t)
+ (when (featurep 'xemacs)
+ (set (make-local-variable 'zmacs-regions) t))
(set (make-local-variable 'revert-buffer-function) 'reftex-toc-revert)
(set (make-local-variable 'reftex-toc-include-labels-indicator) "")
(set (make-local-variable 'reftex-toc-max-level-indicator)
;;; Commentary:
;;; Code:
-(eval-when-compile (defvar reftex-tables-dirty))
+(defvar reftex-tables-dirty)
(eval-when-compile (require 'cl))
(eval-and-compile
(defun reftex-set-dirty (symbol value)
;;; =========================================================================
;;;
;;; Silence warnings about variables in other packages.
-(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-keywords)
- (defvar font-lock-fontify-region-function)
- (defvar font-lock-syntactic-keywords))
+(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-keywords)
+(defvar font-lock-fontify-region-function)
+(defvar font-lock-syntactic-keywords)
;;; =========================================================================
;;;