summaryrefslogtreecommitdiff
path: root/lisp/=ada.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/=ada.el')
-rw-r--r--lisp/=ada.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/=ada.el b/lisp/=ada.el
index 6cb305c3425..8ee750fc6c0 100644
--- a/lisp/=ada.el
+++ b/lisp/=ada.el
@@ -166,8 +166,8 @@ Variable `ada-indent' controls the number of spaces for indent/undent."
(setq comment-column 41)
(make-local-variable 'comment-start-skip)
(setq comment-start-skip "--+ *")
- (make-local-variable 'comment-indent-hook)
- (setq comment-indent-hook 'c-comment-indent)
+ (make-local-variable 'comment-indent-function)
+ (setq comment-indent-function 'c-comment-indent)
(make-local-variable 'parse-sexp-ignore-comments)
(setq parse-sexp-ignore-comments t)
(run-hooks 'ada-mode-hook))