diff options
| author | John Paul Wallington | 2005-03-02 21:28:57 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2005-03-02 21:28:57 +0000 |
| commit | b8210c6e5ff747e56efa978a99b4ed176d58aa69 (patch) | |
| tree | 4f9057e40b8cf9492364aca1049957b5f55a1a9b | |
| parent | b656e0f4bc859484fbe136cf095f9798c4477d54 (diff) | |
| download | emacs-b8210c6e5ff747e56efa978a99b4ed176d58aa69.tar.gz emacs-b8210c6e5ff747e56efa978a99b4ed176d58aa69.zip | |
(ibuffer-filter-disable): Move back to the current buffer after
removing limits.
(ibuffer-pop-filter): Ditto.
Update copyright.
From: Romain Francoise <romain@orebokech.com>
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/ibuf-ext.el | 12 |
2 files changed, 16 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 01fb5a5e6b4..8964538ee3e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2005-03-02 Romain Francoise <romain@orebokech.com> | ||
| 2 | |||
| 3 | * ibuf-ext.el (ibuffer-filter-disable): Move back to the current | ||
| 4 | buffer after removing limits. | ||
| 5 | (ibuffer-pop-filter): Ditto. | ||
| 6 | Update copyright. | ||
| 7 | |||
| 1 | 2005-03-02 Miles Bader <miles@gnu.org> | 8 | 2005-03-02 Miles Bader <miles@gnu.org> |
| 2 | 9 | ||
| 3 | * button.el (make-text-button): If the user doesn't specify a | 10 | * button.el (make-text-button): If the user doesn't specify a |
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index bed4330d0c2..e2e5d251371 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ibuf-ext.el --- extensions for ibuffer | 1 | ;;; ibuf-ext.el --- extensions for ibuffer |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Colin Walters <walters@verbum.org> | 5 | ;; Author: Colin Walters <walters@verbum.org> |
| 6 | ;; Maintainer: John Paul Wallington <jpw@gnu.org> | 6 | ;; Maintainer: John Paul Wallington <jpw@gnu.org> |
| @@ -753,7 +753,10 @@ of replacing the current filters." | |||
| 753 | "Disable all filters currently in effect in this buffer." | 753 | "Disable all filters currently in effect in this buffer." |
| 754 | (interactive) | 754 | (interactive) |
| 755 | (setq ibuffer-filtering-qualifiers nil) | 755 | (setq ibuffer-filtering-qualifiers nil) |
| 756 | (ibuffer-update nil t)) | 756 | (let ((buf (ibuffer-current-buffer))) |
| 757 | (ibuffer-update nil t) | ||
| 758 | (when buf | ||
| 759 | (ibuffer-jump-to-buffer (buffer-name buf))))) | ||
| 757 | 760 | ||
| 758 | ;;;###autoload | 761 | ;;;###autoload |
| 759 | (defun ibuffer-pop-filter () | 762 | (defun ibuffer-pop-filter () |
| @@ -762,7 +765,10 @@ of replacing the current filters." | |||
| 762 | (when (null ibuffer-filtering-qualifiers) | 765 | (when (null ibuffer-filtering-qualifiers) |
| 763 | (error "No filters in effect")) | 766 | (error "No filters in effect")) |
| 764 | (pop ibuffer-filtering-qualifiers) | 767 | (pop ibuffer-filtering-qualifiers) |
| 765 | (ibuffer-update nil t)) | 768 | (let ((buf (ibuffer-current-buffer))) |
| 769 | (ibuffer-update nil t) | ||
| 770 | (when buf | ||
| 771 | (ibuffer-jump-to-buffer (buffer-name buf))))) | ||
| 766 | 772 | ||
| 767 | (defun ibuffer-push-filter (qualifier) | 773 | (defun ibuffer-push-filter (qualifier) |
| 768 | "Add QUALIFIER to `ibuffer-filtering-qualifiers'." | 774 | "Add QUALIFIER to `ibuffer-filtering-qualifiers'." |