* lisp/ido.el (ido-make-file-list): Use string-match to check
for dotfiles instead of substring, as when using tramp
simplified syntax ido-temp-list may contain empty strings.
Copyright-paperwork-exempt: yes
ido-temp-list)))))
(ido-to-end ;; move . files to end
(delq nil (mapcar
- (lambda (x) (if (string-equal (substring x 0 1) ".") x))
+ (lambda (x) (if (string-match "^\\." x) x))
ido-temp-list)))
(if (and default (member default ido-temp-list))
(if (or ido-rotate-temp ido-rotate-file-list-default)