(ediff-get-meta-info): Fix the condition

of a while-loop.
This commit is contained in:
Gerd Moellmann 2001-08-15 11:03:41 +00:00
parent 93aba6fcd4
commit 3e6f08e6f0
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2001-08-15 Gerd Moellmann <gerd@gnu.org>
* ediff-mult.el (ediff-get-meta-info): Fix the condition
of a while-loop.
* Makefile.in (DONTCOMPILE): Remove sc.el.
* Makefile.in (finder_setwins): Renamed from nonobsolete_setwins.

View file

@ -1,6 +1,6 @@
;;; ediff-mult.el --- support for multi-file/multi-buffer processing in Ediff
;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
;; Copyright (C) 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
;; Author: Michael Kifer <kifer@cs.sunysb.edu>
@ -1966,8 +1966,9 @@ If this is a session registry buffer then just bury it."
(setq olist
(mapcar (lambda (elt) (overlay-get elt 'ediff-meta-info))
olist))
(while (and olist (null (car olist))
(overlay-get (car olist) 'invisible))
(while (and olist
(or (null (car olist))
(overlay-get (car olist) 'invisible)))
(setq olist (cdr olist)))
(setq result (car olist)))))
(if result