diff options
Diffstat (limited to 'lisp/progmodes/prolog.el')
-rw-r--r-- | lisp/progmodes/prolog.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 35472d9d587..d6b93b70a42 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -77,8 +77,8 @@ nil means send actual operating system end of file.") (setq comment-start-skip "%+ *") (make-local-variable 'comment-column) (setq comment-column 48) - (make-local-variable 'comment-indent-hook) - (setq comment-indent-hook 'prolog-comment-indent)) + (make-local-variable 'comment-indent-function) + (setq comment-indent-function 'prolog-comment-indent)) (defun prolog-mode-commands (map) (define-key map "\t" 'prolog-indent-line) |