aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/ada-mode.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index 08e544e9dce..08ea3b8ea82 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -79,7 +79,7 @@
79;;; ======= 79;;; =======
80;;; 80;;;
81;;; Many thanks to 81;;; Many thanks to
82;;; Philippe Warroquiers (PW) <philippe@cfmu.eurocontrol.be> in particular, 82;;; Philippe Waroquiers (PW) <philippe@cfmu.eurocontrol.be> in particular,
83;;; woodruff@stc.llnl.gov (John Woodruff) 83;;; woodruff@stc.llnl.gov (John Woodruff)
84;;; jj@ddci.dk (Jesper Joergensen) 84;;; jj@ddci.dk (Jesper Joergensen)
85;;; gse@ocsystems.com (Scott Evans) 85;;; gse@ocsystems.com (Scott Evans)
@@ -151,7 +151,7 @@ not to 'begin'.")
151 "*Do we program in `ada83' or `ada95'?") 151 "*Do we program in `ada83' or `ada95'?")
152 152
153(defvar ada-case-keyword 'downcase-word 153(defvar ada-case-keyword 'downcase-word
154 "*Function to call to adjust the case of Ada keyworrds. 154 "*Function to call to adjust the case of Ada keywords.
155It may be `downcase-word', `upcase-word', `ada-loose-case-word' or 155It may be `downcase-word', `upcase-word', `ada-loose-case-word' or
156`capitalize-word'.") 156`capitalize-word'.")
157 157
@@ -166,7 +166,7 @@ It may be `downcase-word', `upcase-word', `ada-loose-case-word' or
166`capitalize-word'.") 166`capitalize-word'.")
167 167
168(defvar ada-auto-case t 168(defvar ada-auto-case t
169 "*Non-nil automatically changes casing of preceeding word while typing. 169 "*Non-nil automatically changes case of preceding word while typing.
170Casing is done according to `ada-case-keyword', `ada-case-identifier' 170Casing is done according to `ada-case-keyword', `ada-case-identifier'
171and `ada-cacse-attribute'.") 171and `ada-cacse-attribute'.")
172 172
@@ -192,7 +192,7 @@ with `ada-fill-comment-paragraph-postfix'.")
192 192
193(defvar ada-krunch-args "0" 193(defvar ada-krunch-args "0"
194 "*Argument of gnatk8, a string containing the max number of characters. 194 "*Argument of gnatk8, a string containing the max number of characters.
195Set to 0, if you dont use crunched filenames.") 195Set to 0, if you don't use crunched filenames.")
196 196
197;;; ---- end of user configurable variables 197;;; ---- end of user configurable variables
198 198
@@ -660,7 +660,7 @@ If `ada-indent-comment-as-code' is non-nil, the paragraph is idented."
660The name is specified in `ada-external-pretty-print-program'. Saves the 660The name is specified in `ada-external-pretty-print-program'. Saves the
661current buffer in a directory specified by `ada-tmp-directory', 661current buffer in a directory specified by `ada-tmp-directory',
662starts the pretty printer as external process on that file and then 662starts the pretty printer as external process on that file and then
663reloads the beautyfied program in the buffer and cleans up 663reloads the beautified program in the buffer and cleans up
664`ada-tmp-directory'." 664`ada-tmp-directory'."
665 (interactive) 665 (interactive)
666 (let ((filename-with-path buffer-file-name) 666 (let ((filename-with-path buffer-file-name)
@@ -1405,7 +1405,7 @@ Moves to 'begin' if in a declarative part."
1405 (forward-line 1) 1405 (forward-line 1)
1406 (setq block-done (1+ block-done)) 1406 (setq block-done (1+ block-done))
1407 (setq lines-remaining (1- lines-remaining))) 1407 (setq lines-remaining (1- lines-remaining)))
1408 ;; show line number where the error occured 1408 ;; show line number where the error occurred
1409 (error 1409 (error
1410 (error (format "line %d: %s" 1410 (error (format "line %d: %s"
1411 (1+ (count-lines (point-min) (point))) 1411 (1+ (count-lines (point-min) (point)))
@@ -1850,7 +1850,7 @@ This works by two steps:
1850 1850
1851(defun ada-get-indent-open-paren (orgpoint) 1851(defun ada-get-indent-open-paren (orgpoint)
1852 ;; Returns the indentation (column #) for the new line after ORGPOINT. 1852 ;; Returns the indentation (column #) for the new line after ORGPOINT.
1853 ;; Assumes point to be behind an open paranthesis not yet closed. 1853 ;; Assumes point to be behind an open parenthesis not yet closed.
1854 (ada-in-open-paren-p)) 1854 (ada-in-open-paren-p))
1855 1855
1856 1856
@@ -2386,7 +2386,7 @@ This works by two steps:
2386 ;; 2386 ;;
2387 (setq match-dat (ada-search-prev-end-stmt limit))) 2387 (setq match-dat (ada-search-prev-end-stmt limit)))
2388 ;; 2388 ;;
2389 ;; if found the correct end-stetement => goto next non-ws 2389 ;; if found the correct end-statement => goto next non-ws
2390 ;; 2390 ;;
2391 (if match-dat 2391 (if match-dat
2392 (goto-char (cdr match-dat))) 2392 (goto-char (cdr match-dat)))
@@ -3108,7 +3108,7 @@ This works by two steps:
3108 ;; inside parentheses ? 3108 ;; inside parentheses ?
3109 (looking-at "(") 3109 (looking-at "(")
3110 (backward-word 2) 3110 (backward-word 2)
3111 ;; right keyword before paranthesis ? 3111 ;; right keyword before parenthesis ?
3112 (looking-at (concat "\\<\\(" 3112 (looking-at (concat "\\<\\("
3113 "procedure\\|function\\|body\\|package\\|" 3113 "procedure\\|function\\|body\\|package\\|"
3114 "task\\|entry\\|accept\\)\\>")) 3114 "task\\|entry\\|accept\\)\\>"))