Commit 281c9d2b authored by Glenn Morris's avatar Glenn Morris

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

parent f42f1094
2012-10-18 Glenn Morris <rgm@gnu.org>
* minibuffer.el (completion-cycle-threshold): Doc fix.
2012-10-17 Kenichi Handa <handa@gnu.org> 2012-10-17 Kenichi Handa <handa@gnu.org>
* international/mule.el (set-keyboard-coding-system): Recover * international/mule.el (set-keyboard-coding-system): Recover
......
...@@ -859,8 +859,8 @@ Depending on this setting `minibuffer-complete' may use cycling, ...@@ -859,8 +859,8 @@ Depending on this setting `minibuffer-complete' may use cycling,
like `minibuffer-force-complete'. like `minibuffer-force-complete'.
If nil, cycling is never used. If nil, cycling is never used.
If t, cycling is always used. If t, cycling is always used.
If an integer, cycling is used as soon as there are fewer completion If an integer, cycling is used so long as there are not more
candidates than this number." completion candidates than this number."
:version "24.1" :version "24.1"
:type completion--cycling-threshold-type) :type completion--cycling-threshold-type)
...@@ -977,7 +977,7 @@ when the buffer's text is already an exact match." ...@@ -977,7 +977,7 @@ when the buffer's text is already an exact match."
;; This signal an (intended) error if comps is too ;; This signal an (intended) error if comps is too
;; short or if completion-cycle-threshold is t. ;; short or if completion-cycle-threshold is t.
(consp (nthcdr threshold comps))))) (consp (nthcdr threshold comps)))))
;; Fewer than completion-cycle-threshold remaining ;; Not more than completion-cycle-threshold remaining
;; completions: let's cycle. ;; completions: let's cycle.
(setq completed t exact t) (setq completed t exact t)
(completion--cache-all-sorted-completions comps) (completion--cache-all-sorted-completions comps)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment