Hi, I'm testing emacs outline minor mode with Sweave. When I move through
ESS from LaTeX (and vice versa) all the outlined part were unfolded despite
I write in my .emacs:

(defun turn-on-outline-minor-mode ()
 (outline-minor-mode 1))
  (add-hook 'ess-mode-hook 'turn-on-outline-minor-mode)
  (add-hook 'LaTeX-mode-hook 'turn-on-outline-minor-mode)
  (add-hook 'latex-mode-hook 'turn-on-outline-minor-mode)
(setq outline-minor-mode-prefix "\C-c\C-o")

I'm not a lisp expert, on the contrary.... so, what should I modify  in the
code above?? Do you have any suggestions??

Regards

	[[alternative HTML version deleted]]

