diff lisp/textmodes/tex-mode.el @ 2307:10e417efb12a

Added or corrected Commentary sections
author Eric S. Raymond <esr@snark.thyrsus.com>
date Mon, 22 Mar 1993 03:27:18 +0000
parents daf268a98d5e
children b65cf676a09b
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Mon Mar 22 03:00:23 1993 +0000
+++ b/lisp/textmodes/tex-mode.el	Mon Mar 22 03:27:18 1993 +0000
@@ -437,8 +437,8 @@
   (setq comment-start "%")
   (make-local-variable 'comment-start-skip)
   (setq comment-start-skip "\\(\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)")
-  (make-local-variable 'comment-indent-hook)
-  (setq comment-indent-hook 'tex-comment-indent)
+  (make-local-variable 'comment-indent-function)
+  (setq comment-indent-function 'tex-comment-indent)
   (make-local-variable 'compare-windows-whitespace)
   (setq compare-windows-whitespace 'tex-categorize-whitespace)
   (make-local-variable 'tex-command)