     (rdebug-populate-secondary-buffer-map map)
 
     ;; --------------------
-    ;; The "Watch window" submeny.
+    ;; The "Watch window" submenu.
     (let ((submenu (make-sparse-keymap)))
       (define-key-after map [menu-bar debugger watch]
         (cons "Watch window" submenu)

This includes a 'Debugger' menu and special key bindings when the
debugger is active."
  (rdebug-debugger-support-minor-mode 1))


;; -- The `rdebug' command and support functions.

                   (eq process (get-buffer-process gud-comint-buffer)))
               (eq rdebug-window-configuration-state 'debugger)
               (not (eq (process-status process) 'run)))
      (rdebug-local-short-key-mode-off)
      (rdebug-set-window-configuration-state 'original)
      ;; This unbinds the special debugger keys of the source buffers.
      (setcdr (assq 'rdebug-debugger-support-minor-mode minor-mode-map-alist)
              rdebug-debugger-support-minor-mode-map-when-deactive))))


;; -- Reset support
