Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
80e18d20
Commit
80e18d20
authored
Jan 14, 2010
by
Stephen Leake
Committed by
Juanma Barranquero
Jan 14, 2010
Browse files
* progmodes/ada-mode.el: Override `narrow-to-defun' with `ada-narrow-to-defun'.
parent
fb0d1545
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/ada-mode.el
lisp/progmodes/ada-mode.el
+2
-0
No files found.
lisp/ChangeLog
View file @
80e18d20
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.
...
...
lisp/progmodes/ada-mode.el
View file @
80e18d20
...
...
@@ -4568,6 +4568,8 @@ Moves to 'begin' if in a declarative part."
(
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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment