]> git.eshelyaron.com Git - emacs.git/commit
* lisp/ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
authorGlenn Morris <rgm@gnu.org>
Thu, 3 Feb 2011 07:02:52 +0000 (23:02 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 3 Feb 2011 07:02:52 +0000 (23:02 -0800)
commitdf27585129eda912634720f8185379de1c0de08d
treedac2d2a1bc11e80e46b6921327091c0b55e70ebb
parent95838641ae01abb8589c99512dfd5ed6bccf25dc
* lisp/ibuf-ext.el (ibuffer-filter-disable): Make it work.  (Bug#7969)

Details:

An error in a filter would cause an infinite loop.
ibuffer-update calls ibuffer-redisplay-engine which calls
ibuffer-update which calls ibuffer-redisplay-engine, etc.

ibuffer-generate-filter-groups calls ibuffer-included-in-filters-p.
If ibuffer-included-in-filter-p-1 meets an unknown element in the
filter, it calls ibuffer-filter-disable, which calls ibuffer-update.
If the filters have not been properly disabled, we go round and round.
lisp/ChangeLog
lisp/ibuf-ext.el