+1999-11-19 Stefan Monnier <monnier@cs.yale.edu>
+
+ * complete.el (PC-do-complete-and-exit): use minibuffer-prompt-end to
+ detect an empty prompt.
+
1999-11-18 Dave Love <fx@gnu.org>
* simple.el (input-mode-8-bit): Fix the customization.
(PC-do-complete-and-exit)))
(defun PC-do-complete-and-exit ()
- (if (= (buffer-size) 0) ; Duplicate the "bug" that Info-menu relies on...
+ (if (= (point-max) (minibuffer-prompt-end)) ; Duplicate the "bug" that Info-menu relies on...
(exit-minibuffer)
(let ((flag (PC-do-completion 'exit)))
(and flag