summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-08-03 19:20:08 +0000
committerRichard M. Stallman <rms@gnu.org>1992-08-03 19:20:08 +0000
commit0d4ee84900adb489c6fbc1d7ddd6b25f8fb2c515 (patch)
tree8eb0199012a2191ea321a4b9d8771b9f18ab0c60
parent043b998c9d17c4482b735240478d3da7a9b71f05 (diff)
downloademacs-0d4ee84900adb489c6fbc1d7ddd6b25f8fb2c515.tar.gz
*** empty log message ***
-rw-r--r--lisp/gud.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 76a3cef7ae0..aadb3c10cc3 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -80,7 +80,8 @@ This association list has elements of the form
(or doc "")
'(interactive "p")
(list 'gud-call cstr))
- (list 'define-key 'gud-mode-map key (list 'quote func)))))
+ (if key
+ (list 'define-key 'gud-mode-map key (list 'quote func))))))
;; All debugger-specific information is collected here
;; Here's how it works, in case you ever need to add a debugger to the table.