Re: Changes to preview-latex

David Kastrup <[email protected]> Wed, 16 Mar 2005 11:14:32 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Masayuki Ataka <[email protected]> writes:

[...]

In addition to my last mail: just hold the horses with regard to
placing the whole function in prv-emacs.el and prv-xemacs.el:

_currently_, preview-latex does not use nested overlays itself, so it
can just do

(unless (fboundp 'TeX-overlay-prioritize)
  (defalias 'TeX-overlay-prioritize 'ignore))

and that's it, at least for now.  Since TeX-overlay-prioritize _will_
be defined in tex.el, this will never get active except in older
AUCTeX versions where TeX-fold.el would not be using the function,
either.

_If_ we get a preview-latex that can do nested previews at one time,
then we can still move more complete definitions into prv-emacs.el and
prv-xemacs.el _if_ we are still distributing separate preview-latex
versions at that time.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum