Re: tex-fold & preview-latex
Masayuki Ataka <[email protected]> Fri, 11 Mar 2005 20:02:14 +0900 (JST)
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
From: Ralf Angeli <[email protected]> Subject: Re: tex-fold & preview-latex Date: Fri, 11 Mar 2005 08:09:52 +0100 > * Masayuki Ataka (2005-03-09) writes: > > > --- prv-emacs.el 04 3 2005 01:51:05 +0900 1.61 > > +++ prv-emacs.el 09 3 2005 21:46:20 +0900 > [...] > > @@ -233,6 +235,7 @@ > > (unless (re-search-forward preview-dump-threshold nil t) > > (error "Can't find preamble of `%s'" file)) > > (setq ov (make-overlay (point-min) (point))) > > + (overlay-put ov 'priority (TeX-fold-prioritize (point-min) (point))) > > Why is a priority needed here? AFAICS this overlay won't get a > 'display property. Yes, you are right. We don't need priority setting here. I spent two days with this patch, and it looks good to me. If no objection, I will check in this change, even though, we should discuss the treatment of overlay between fold-tex and preview-latex, later. Thanks, --- email: [email protected] Name:: Masayuki Ataka // (Japan)