|
@@ -707,9 +707,9 @@ See `completing-read' for the meaning of the arguments."
|
|
|
'("ido cannot handle the empty string as an option when `ido-enable-dot-prefix' is non-nil; see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26997")))
|
|
|
|
|
|
;; Fix ido's broken handling of cons-style INITIAL-INPUT on
|
|
|
- ;; Emacsen older than 27.1.
|
|
|
+ ;; Emacsen older than 27.
|
|
|
(when (and (consp initial-input)
|
|
|
- (version< emacs-version "27.1"))
|
|
|
+ (< emacs-major-version 27))
|
|
|
;; `completing-read' uses 0-based index while
|
|
|
;; `read-from-minibuffer' uses 1-based index.
|
|
|
(cl-incf (cdr initial-input)))
|