* Ralf Angeli (2007-02-10) writes:
> (lambda ()
> (save-excursion
> (backward-char)
> (or (TeX-fold-macro) (TeX-fold-math))))
Uh, better use the internal function providing proper return values.
With a test for the value of the variable controlling activation of
the feature and with support for environments it could like this:
(lambda ()
(when TeX-fold-auto
(save-excursion
(backward-char)
(or (TeX-fold-item 'macro)
(TeX-fold-item 'math)
(TeX-fold-item 'env)))))
--
Ralf
_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel