Index: auctex/latex.el diff -u auctex/latex.el:5.405 auctex/latex.el:5.406 --- auctex/latex.el:5.405 Wed Apr 12 20:00:46 2006 +++ auctex/latex.el Fri Apr 21 18:17:33 2006 @@ -4722,11 +4722,14 @@ "Major mode in AUCTeX for editing .dtx files derived from `LaTeX-mode'. Runs `LaTeX-mode', sets a few variables and runs the hooks in `docTeX-mode-hook'." - (setq major-mode 'doctex-mode) (set (make-local-variable 'LaTeX-insert-into-comments) t) (set (make-local-variable 'LaTeX-syntactic-comments) t) (setq TeX-default-extension docTeX-default-extension) + ;; Make filling and indentation aware of DocStrip guards. + (setq paragraph-start (concat paragraph-start "\\|%<") + paragraph-separate (concat paragraph-separate "\\|%<") + TeX-comment-start-regexp "%\\(?:<[^>]+>\\)?") (setq TeX-base-mode-name "docTeX") (TeX-set-mode-name) (funcall TeX-install-font-lock))
_______________________________________________ auctex-diffs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/auctex-diffs
