]> git.eshelyaron.com Git - emacs.git/commit
ibuffer-saved-filters: Remove extra nesting level
authorChristopher Genovese <genovese@cmu.edu>
Wed, 7 Dec 2016 10:51:33 +0000 (19:51 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Wed, 7 Dec 2016 10:51:33 +0000 (19:51 +0900)
commit20f5a5b386db878e69a4b6be565dc06d06b46ffd
tree24f855a48bdc8617f5800e40f743ad9b2da767c0
parent8e5a769965313a7a1c42b5992ed24e8b0ea71ead
ibuffer-saved-filters: Remove extra nesting level

Fix Bug#25049.
* lisp/ibuf-ext.el (ibuffer-saved-filters): Remove extra
nesting level; add transparent setter to adjust old-format values;
update doc string.
(ibuffer-save-filters): Remove extra level of nesting
in ibuffer-saved-filters values when saving new filters.
(ibuffer-old-saved-filters-warning): New variable with
clickable message with repair options to be displayed
as a warning if 'ibuffer-repair-saved-filters' detects
a format mismatch.
(ibuffer-repair-saved-filters): Add new command to check and
repair saved filters format.
(ibuffer-included-in-filter-p, ibuffer-decompose-filter):
Change access of saved filter data (cadr->cdr) to account
for reduced nesting.
* test/lisp/ibuffer-tests.el (ibuffer-save-filters):
New test; check that filters are saved in the proper format.
lisp/ibuf-ext.el
test/lisp/ibuffer-tests.el