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 (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. |