diff options
Diffstat (limited to 'lisp/textmodes/sgml-mode.el')
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index d03e631a91e..b6200ac0bc7 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -89,8 +89,8 @@ Use \\[sgml-validate] to validate your document with an SGML parser." (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. |