diff options
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index bc0edb1f047..ba4702d90a4 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -1462,7 +1462,7 @@ The standard casing rules will no longer apply to this word." | |||
| 1462 | (setq file-name (car ada-case-exception-file))) | 1462 | (setq file-name (car ada-case-exception-file))) |
| 1463 | (t | 1463 | (t |
| 1464 | (error (concat "No exception file specified. " | 1464 | (error (concat "No exception file specified. " |
| 1465 | "See variable ada-case-exception-file.")))) | 1465 | "See variable ada-case-exception-file")))) |
| 1466 | 1466 | ||
| 1467 | (set-syntax-table ada-mode-symbol-syntax-table) | 1467 | (set-syntax-table ada-mode-symbol-syntax-table) |
| 1468 | (unless word | 1468 | (unless word |
| @@ -1501,7 +1501,7 @@ word itself has a special casing." | |||
| 1501 | (car ada-case-exception-file)) | 1501 | (car ada-case-exception-file)) |
| 1502 | (t | 1502 | (t |
| 1503 | (error (concat "No exception file specified. " | 1503 | (error (concat "No exception file specified. " |
| 1504 | "See variable ada-case-exception-file.")))))) | 1504 | "See variable ada-case-exception-file")))))) |
| 1505 | 1505 | ||
| 1506 | ;; Find the substring to define as an exception. Order is: the parameter, | 1506 | ;; Find the substring to define as an exception. Order is: the parameter, |
| 1507 | ;; if any, or the selected region, or the word under the cursor | 1507 | ;; if any, or the selected region, or the word under the cursor |
| @@ -5398,7 +5398,7 @@ This function typically is to be hooked into `ff-file-created-hooks'." | |||
| 5398 | (setq body-file (ada-get-body-name)) | 5398 | (setq body-file (ada-get-body-name)) |
| 5399 | (if body-file | 5399 | (if body-file |
| 5400 | (find-file body-file) | 5400 | (find-file body-file) |
| 5401 | (error "No body found for the package. Create it first.")) | 5401 | (error "No body found for the package. Create it first")) |
| 5402 | 5402 | ||
| 5403 | (save-restriction | 5403 | (save-restriction |
| 5404 | (widen) | 5404 | (widen) |