Mercurial > emacs
changeset 106831:7fd22a65b1a9
* progmodes/ada-mode.el: Override `narrow-to-defun' with `ada-narrow-to-defun'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 14 Jan 2010 13:57:07 +0100 |
parents | 4ff0e607507d |
children | 30e3c13d2383 7d6d38782123 |
files | lisp/ChangeLog lisp/progmodes/ada-mode.el |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Thu Jan 14 13:52:37 2010 +0100 +++ b/lisp/ChangeLog Thu Jan 14 13:57:07 2010 +0100 @@ -1,3 +1,8 @@ +2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>2 + + * progmodes/ada-mode.el (ada-create-keymap): + Override `narrow-to-defun' with `ada-narrow-to-defun'. + 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org> * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
--- a/lisp/progmodes/ada-mode.el Thu Jan 14 13:52:37 2010 +0100 +++ b/lisp/progmodes/ada-mode.el Thu Jan 14 13:57:07 2010 +0100 @@ -4568,6 +4568,8 @@ (define-key ada-mode-extra-map "u" 'ada-prj-edit) + (define-key ada-mode-map "\C-xnd" 'ada-narrow-to-defun); override narrow-to-defun + ;; The templates, defined in ada-stmt.el (let ((map (make-sparse-keymap)))