;;; ada.el --- Ada editing support package in GNUlisp. v1.0
+;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
+
;; Author: Vincent Broman <broman@bugs.nosc.mil>
-;; Last-Modified: 30 Jan 1991
;; Keywords: languages
-;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
-
;; This file is part of GNU Emacs.
;; GNU Emacs is free software; you can redistribute it and/or modify
(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))
(ada-tab))
(defun ada-loop ()
- "Insert a skeleton loop statement. exit statement added by hand."
+ "Insert a skeleton loop statement. The exit statement is added by hand."
(interactive)
(insert "loop ")
(let* ((ada-loop-name (read-string "[loop name]: "))