]> git.eshelyaron.com Git - emacs.git/commitdiff
ibuf-ext.el: Fix previous change
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 2 Dec 2019 00:38:31 +0000 (01:38 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 2 Dec 2019 00:38:31 +0000 (01:38 +0100)
* lisp/ibuf-ext.el (ibuffer-generate-filter-groups): Use
`cl-destructuring-bind' instead of `cl-multiple-value-bind', as we
don't want to assume how multiple-values are implemented, and we
know a list is being returned anyway.  Suggested by Stefan Monnier.

lisp/ibuf-ext.el

index 375090e09c3f670f77642c81a8af42c05ebdb2b9..12930fc0a67a17d5ce16f635b36bd37327a931c9 100644 (file)
@@ -760,7 +760,7 @@ specification, with the same structure as an element of the list
          (i 0))
       (dolist (filtergroup filter-group-alist)
        (let ((filterset (cdr filtergroup)))
-         (cl-multiple-value-bind (hip-crowd lamers)
+         (cl-destructuring-bind (hip-crowd lamers)
              (ibuffer-split-list (lambda (bufmark)
                                    (ibuffer-included-in-filters-p (car bufmark)
                                                                   filterset))