 (defun rdebug-set-window-configuration-state (state &optional dont-restore)
   "Change window configuration state.
 
-Two states are supported `original' and `debugger'.
+Two states are supported, `original' and `debugger'.
 
 When `dont-restore' is non-nil, the old window layout is not
 restored. This is used when a new layout is being drawn, for

      (set (make-local-variable 'gud-comint-buffer) comint-buffer))))

(defun rdebug-watch-add (expr)
  (interactive "sRuby expression: ")
  (if (not (string= expr ""))
      (gud-call (format "display %s" expr))))

(defun rdebug-watch-delete ()
  (interactive)
  (save-excursion
    (beginning-of-line)

      (while (setq s (string-match rdebug-annotation-start-regexp
				   gud-marker-acc))
	(rdebug-debug-message "ACC: %S" gud-marker-acc)
	(let ((name (substring gud-marker-acc
                               (match-beginning 1) (match-end 1)))
	      (end (match-end 0)))
	  (if (setq s2 (string-match rdebug-annotation-end-regexp
				     gud-marker-acc end))
