* Wouter Swierstra (2006-01-25) writes:

> I'd be most grateful if people on this list have any suggestions how
> to customize auctex to my specific needs. Ideally, I'd like .lhs
> files to behave just like .tex with respect to issuing latex
> commands, viewing, source specials, and all that. A simple M-x latex- 
> mode won't cut it.

(add-to-list 'auto-mode-alist '("\\.lhs\\'" . latex-mode))
(eval-after-load "tex"
  '(add-to-list 'TeX-file-extensions "lhs"))

You might have to adapt `TeX-one-master' as well.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to