 ;; OR: pass two maps, one top level (for menu and common) and one
 ;; submap for keys.
 (defun rdebug-populate-secondary-buffer-map (map &optional no-menu)
+  "Bind keys common to all rdebug secondary buffers.
+(This does not include the debugger shell and source buffers.)"
   ;; Keys to view other buffers.
   (define-key map "?" 'rdebug-display-secondary-window-help-buffer)
   (define-key map "B" 'rdebug-display-breakpoints-buffer)


;; Remember, all menu items are added in the reverse order!

;; TODO: This is a mix of commands that apply to dedicated buffers,
;; the source buffers and the debugger shell buffer. Things like
;; "delete breakpoint" can be in source and the breakpoints window,
;; but not in the others.

(defun rdebug-populate-debugger-menu (map)
  "Populate the Rdebug 'Debugger' menu."
  (let ((menu (make-sparse-keymap)))


* nil -- Don't bind any keys.

* `rdebug-populate-common-keys-standard' -- Bind according to a widely used
  debugger convention:

\\{rdebug-example-map-standard}

