diff options
| author | Stephen Leake | 2010-01-14 13:57:07 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2010-01-14 13:57:07 +0100 |
| commit | 80e18d20ec6a73b417c9ec4d18e433d1cff5a95f (patch) | |
| tree | 8ba2b60dc5c93d4a8d261dbb59389723bd13e831 | |
| parent | fb0d15459ca0a197330e6131526613d04a56c12a (diff) | |
| download | emacs-80e18d20ec6a73b417c9ec4d18e433d1cff5a95f.tar.gz emacs-80e18d20ec6a73b417c9ec4d18e433d1cff5a95f.zip | |
* progmodes/ada-mode.el: Override `narrow-to-defun' with `ada-narrow-to-defun'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1be10bb17cd..a5d84bee787 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>2 | ||
| 2 | |||
| 3 | * progmodes/ada-mode.el (ada-create-keymap): | ||
| 4 | Override `narrow-to-defun' with `ada-narrow-to-defun'. | ||
| 5 | |||
| 1 | 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org> | 6 | 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org> |
| 2 | 7 | ||
| 3 | * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword. | 8 | * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword. |
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index b25e54018fa..2b94fdb25ff 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -4568,6 +4568,8 @@ Moves to 'begin' if in a declarative part." | |||
| 4568 | 4568 | ||
| 4569 | (define-key ada-mode-extra-map "u" 'ada-prj-edit) | 4569 | (define-key ada-mode-extra-map "u" 'ada-prj-edit) |
| 4570 | 4570 | ||
| 4571 | (define-key ada-mode-map "\C-xnd" 'ada-narrow-to-defun); override narrow-to-defun | ||
| 4572 | |||
| 4571 | ;; The templates, defined in ada-stmt.el | 4573 | ;; The templates, defined in ada-stmt.el |
| 4572 | 4574 | ||
| 4573 | (let ((map (make-sparse-keymap))) | 4575 | (let ((map (make-sparse-keymap))) |