diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gud.el | 3 |
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 | |||
| 80 | (or doc "") | 80 | (or doc "") |
| 81 | '(interactive "p") | 81 | '(interactive "p") |
| 82 | (list 'gud-call cstr)) | 82 | (list 'gud-call cstr)) |
| 83 | (list 'define-key 'gud-mode-map key (list 'quote func))))) | 83 | (if key |
| 84 | (list 'define-key 'gud-mode-map key (list 'quote func)))))) | ||
| 84 | 85 | ||
| 85 | ;; All debugger-specific information is collected here | 86 | ;; All debugger-specific information is collected here |
| 86 | ;; Here's how it works, in case you ever need to add a debugger to the table. | 87 | ;; Here's how it works, in case you ever need to add a debugger to the table. |