diff options
author | Dave Love <fx@gnu.org> | 1999-07-30 09:42:37 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 1999-07-30 09:42:37 +0000 |
commit | c88e53b7f8105e7afed640a736f391755e8197bc (patch) | |
tree | ff8e2e4cf0407c6fe210fb3456b06e5fb5a8c24f /lisp/msb.el | |
parent | c4d6496936fc3394284796f9dba1b03cf8f4d338 (diff) | |
download | emacs-c88e53b7f8105e7afed640a736f391755e8197bc.tar.gz |
(msb--choose-file-menu): Fix previous change.
Diffstat (limited to 'lisp/msb.el')
-rw-r--r-- | lisp/msb.el | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/msb.el b/lisp/msb.el index 866a5c3dddc..77fce64f94b 100644 --- a/lisp/msb.el +++ b/lisp/msb.el @@ -597,7 +597,8 @@ If the argument is left out or nil, then the current buffer is considered." (while (and tmp-rest (<= (length buffers) max-clumped-together) (>= (length (car item)) (length path)) - (compare-strings path 0 nil (car item) 0 (length path))) + (eq t (compare-strings path 0 nil + (car item) 0 (length path)))) (setq found-p t) (setq buffers (append buffers (cdr item))) ;nconc is faster than append (setq tmp-rest (cdr tmp-rest) @@ -635,11 +636,13 @@ If the argument is left out or nil, then the current buffer is considered." (setq last-path path)) (when (and last-path (or (and (>= (length path) (length last-path)) - (compare-strings last-path 0 nil - path 0 (length last-path))) + (eq t (compare-strings last-path 0 nil + path 0 (length + last-path)))) (and (< (length path) (length last-path)) - (compare-strings path 0 nil - last-path 0 (length path))))) + (eq t (compare-strings path 0 nil + last-path 0 (length + path)))))) ;; We have reached the same place in the file hierarchy as ;; the last result, so we should quit at this point and ;; take what we have as result. |