* lisp/minibuffer.el (completion-cycle-threshold): Doc fix

This commit is contained in:
Glenn Morris 2012-10-17 20:30:04 -07:00
parent f42f10940b
commit 281c9d2b20
2 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
2012-10-18 Glenn Morris <rgm@gnu.org>
* minibuffer.el (completion-cycle-threshold): Doc fix.
2012-10-17 Kenichi Handa <handa@gnu.org>
* international/mule.el (set-keyboard-coding-system): Recover

View file

@ -859,8 +859,8 @@ Depending on this setting `minibuffer-complete' may use cycling,
like `minibuffer-force-complete'.
If nil, cycling is never used.
If t, cycling is always used.
If an integer, cycling is used as soon as there are fewer completion
candidates than this number."
If an integer, cycling is used so long as there are not more
completion candidates than this number."
:version "24.1"
:type completion--cycling-threshold-type)
@ -977,7 +977,7 @@ when the buffer's text is already an exact match."
;; This signal an (intended) error if comps is too
;; short or if completion-cycle-threshold is t.
(consp (nthcdr threshold comps)))))
;; Fewer than completion-cycle-threshold remaining
;; Not more than completion-cycle-threshold remaining
;; completions: let's cycle.
(setq completed t exact t)
(completion--cache-all-sorted-completions comps)