2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
+ * minibuffer.el (minibuffer-force-complete): Fix thinko.
+
* net/ldap.el (ldap-search-internal): The official ldif format starts
with a "version: 1" header (bug#12724).
(completion--message
(if all "No more completions" "No completions")))
((not (consp (cdr all)))
- (let ((mod (equal (car all) (buffer-substring-no-properties base end))))
- (if mod (completion--replace base end (car all)))
+ (let ((done (equal (car all) (buffer-substring-no-properties base end))))
+ (unless done (completion--replace base end (car all)))
(completion--done (buffer-substring-no-properties start (point))
- 'finished (unless mod "Sole completion"))))
+ 'finished (when done "Sole completion"))))
(t
(completion--replace base end (car all))
(completion--done (buffer-substring-no-properties start (point)) 'sole)