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
e0316300
Commit
e0316300
authored
Jun 20, 1995
by
Richard M. Stallman
Browse files
(gud-make-debug-menu): Cope if no local map yet.
parent
0287f07c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/gud.el
lisp/gud.el
+2
-1
No files found.
lisp/gud.el
View file @
e0316300
...
...
@@ -234,7 +234,8 @@ we're in the GUD buffer)."
"Make sure the current local map has a [menu-bar debug] submap.
If it doesn't, replace it with a new map that inherits it,
and create such a submap in that new map."
(
if
(
lookup-key
(
current-local-map
)
[menu-bar
debug]
)
(
if
(
and
(
current-local-map
)
(
lookup-key
(
current-local-map
)
[menu-bar
debug]
))
nil
(
use-local-map
(
gud-new-keymap
(
current-local-map
)))
(
define-key
(
current-local-map
)
[menu-bar
debug]
...
...
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