Mercurial > emacs
diff lisp/textmodes/sgml-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 | 7861f8756850 |
children | 9e7ec92a4fdf |
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el Mon Mar 22 03:00:23 1993 +0000 +++ b/lisp/textmodes/sgml-mode.el Mon Mar 22 03:27:18 1993 +0000 @@ -89,8 +89,8 @@ (setq comment-start "<!-- ") (make-local-variable 'comment-end) (setq comment-end " -->") - (make-local-variable 'comment-indent-hook) - (setq comment-indent-hook 'sgml-comment-indent) + (make-local-variable 'comment-indent-function) + (setq comment-indent-function 'sgml-comment-indent) (make-local-variable 'comment-start-skip) ;; This will allow existing comments within declarations to be ;; recognized.