Mercurial > emacs
comparison lisp/progmodes/ada-stmt.el @ 97078:2f3e251c6e3c
Typo fixes for Ada mode.
* progmodes/ada-mode.el (ada-batch-reformat): Doc fix.
(ada-create-case-exception): Fix typo in docstring.
(ada-no-auto-case): Return nil, not the docstring.
(ada-indent-current): Reflow docstring.
* progmodes/ada-prj.el (ada-prj-edit, ada-prj-initialize-values)
(ada-prj-save-specific-option, ada-prj-field): Fix typos in docstrings.
(ada-prj-load-from-file): Reflow docstring.
(ada-prj-display-page): Fix typo in widget.
* progmodes/ada-stmt.el (ada-case, ada-package-body, ada-private):
Fix typos in docstrings.
* progmodes/ada-xref.el (ada-find-executable, ada-gnat-parse-gpr)
(ada-compile-current, ada-check-current, ada-run-application)
(ada-get-ali-file-name): Fix typos in docstrings.
(ada-xref-confirm-compile, ada-find-references)
(ada-find-local-references, ada-find-any-references): Doc fixes.
(ada-get-all-references): Fix typo in error message.
(ada-xref-current-project): Use `let', not `let*'.
(ada-do-file-completion, ada-xref-change-buffer): Reflow docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 29 Jul 2008 13:20:39 +0000 |
parents | 52b7a8c22af5 |
children | a9dc0e7c3f2b |
comparison
equal
deleted
inserted
replaced
97077:8aef9f3fd859 | 97078:2f3e251c6e3c |
---|---|
92 "array (" ("index definition: " str ", " ) -2 ") of " _ ?\;) | 92 "array (" ("index definition: " str ", " ) -2 ") of " _ ?\;) |
93 | 93 |
94 | 94 |
95 (define-skeleton ada-case | 95 (define-skeleton ada-case |
96 "Build skeleton case statement. | 96 "Build skeleton case statement. |
97 Prompt for the selector expression. Also builds the first when clause." | 97 Prompt for the selector expression. Also builds the first when clause." |
98 "[selector expression]: " | 98 "[selector expression]: " |
99 "case " str " is" \n | 99 "case " str " is" \n |
100 > "when " ("discrete choice: " str " | ") -3 " =>" \n | 100 > "when " ("discrete choice: " str " | ") -3 " =>" \n |
101 > _ \n | 101 > _ \n |
102 < < "end case;") | 102 < < "end case;") |
264 > _ \n | 264 > _ \n |
265 < "end " str ?\;) | 265 < "end " str ?\;) |
266 | 266 |
267 | 267 |
268 (define-skeleton ada-package-body | 268 (define-skeleton ada-package-body |
269 "Insert a skeleton package body -- includes a begin statement." | 269 "Insert a skeleton package body -- includes a begin statement." |
270 "[package name]: " | 270 "[package name]: " |
271 "package body " str " is" \n | 271 "package body " str " is" \n |
272 > _ \n | 272 > _ \n |
273 ; < "begin" \n | 273 ; < "begin" \n |
274 < "end " str ?\;) | 274 < "end " str ?\;) |
275 | 275 |
276 | 276 |
277 (define-skeleton ada-private | 277 (define-skeleton ada-private |
278 "Undent and start a private section of a package spec. Reindent." | 278 "Undent and start a private section of a package spec. Reindent." |
279 () | 279 () |
280 < "private" \n | 280 < "private" \n |
281 >) | 281 >) |
282 | 282 |
283 | 283 |