diff options
| author | Kim F. Storm | 2006-10-06 22:54:36 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-10-06 22:54:36 +0000 |
| commit | 76a63a6ee015f83c93f18479232b8cf220f64464 (patch) | |
| tree | 18279fadb5a709fb7089eec1c752afdb3f00de5b | |
| parent | 4a61fd6fbd750fd2504a7bb672e5fdfc47c8e49f (diff) | |
| download | emacs-76a63a6ee015f83c93f18479232b8cf220f64464.tar.gz emacs-76a63a6ee015f83c93f18479232b8cf220f64464.zip | |
(ido-file-extension-aux): Fix comparison.
| -rw-r--r-- | lisp/ido.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/ido.el b/lisp/ido.el index d4ed85ea105..ff222b2958c 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -3084,12 +3084,14 @@ for first matching file." | |||
| 3084 | (let ((oa (ido-file-extension-order a n)) | 3084 | (let ((oa (ido-file-extension-order a n)) |
| 3085 | (ob (ido-file-extension-order b n))) | 3085 | (ob (ido-file-extension-order b n))) |
| 3086 | (cond | 3086 | (cond |
| 3087 | ((= oa ob) | ||
| 3088 | lessp) | ||
| 3089 | ((and oa ob) | 3087 | ((and oa ob) |
| 3090 | (if lessp | 3088 | (cond |
| 3091 | (> oa ob) | 3089 | ((= oa ob) |
| 3092 | (< oa ob))) | 3090 | lessp) |
| 3091 | (lessp | ||
| 3092 | (> oa ob)) | ||
| 3093 | (t | ||
| 3094 | (< oa ob)))) | ||
| 3093 | (oa | 3095 | (oa |
| 3094 | (not lessp)) | 3096 | (not lessp)) |
| 3095 | (ob | 3097 | (ob |