(defun ediff-prompt-for-patch-buffer ()
(get-buffer
(read-buffer
- "Patch is in buffer: "
+ "Buffer that holds the patch: "
(cond ((save-excursion
(goto-char (point-min))
(re-search-forward ediff-context-diff-label-regexp nil t))
(goto-char (point-min))
(and (re-search-forward ediff-context-diff-label-regexp nil t)
(current-buffer)))))
- (t nil))
+ (t (other-buffer (current-buffer) 'visible-ok)))
'must-match)))