diff options
| author | John Paul Wallington | 2004-10-23 19:58:27 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2004-10-23 19:58:27 +0000 |
| commit | 818f3c458ee157d3e2bfbec6a9e261cdbc6dafe7 (patch) | |
| tree | fd5e9598b81dd0227281d47c620e069684e44165 | |
| parent | fe78af29dea983ce8828bc5d2ef63dd28becdde3 (diff) | |
| download | emacs-818f3c458ee157d3e2bfbec6a9e261cdbc6dafe7.tar.gz emacs-818f3c458ee157d3e2bfbec6a9e261cdbc6dafe7.zip | |
(ibuffer-kill-line): Set arg `interactive-p' in interactive spec
rather than use function `interactive-p'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ibuf-ext.el | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 32e7b3fb077..85fa5318e5d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -23,8 +23,13 @@ | |||
| 23 | 23 | ||
| 24 | 2004-10-23 John Paul Wallington <jpw@gnu.org> | 24 | 2004-10-23 John Paul Wallington <jpw@gnu.org> |
| 25 | 25 | ||
| 26 | * ibuffer.el (ibuffer-find-file): Remove `interactive-p' call; | ||
| 27 | `wildcards' set to t in interactive spec. | ||
| 28 | |||
| 26 | * ibuf-ext.el (ibuffer-jump-to-buffer): Read buffer name in | 29 | * ibuf-ext.el (ibuffer-jump-to-buffer): Read buffer name in |
| 27 | interactive spec rather than use `interactive-p'. | 30 | interactive spec rather than use `interactive-p'. |
| 31 | (ibuffer-kill-line): Set arg `interactive-p' in interactive spec | ||
| 32 | rather than use function `interactive-p'. | ||
| 28 | 33 | ||
| 29 | 2004-10-22 Kenichi Handa <handa@m17n.org> | 34 | 2004-10-22 Kenichi Handa <handa@m17n.org> |
| 30 | 35 | ||
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 1c77e409ae4..bed4330d0c2 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el | |||
| @@ -645,16 +645,16 @@ The group will be added to `ibuffer-filter-group-kill-ring'." | |||
| 645 | (ibuffer-update nil t)) | 645 | (ibuffer-update nil t)) |
| 646 | 646 | ||
| 647 | ;;;###autoload | 647 | ;;;###autoload |
| 648 | (defun ibuffer-kill-line (&optional arg) | 648 | (defun ibuffer-kill-line (&optional arg interactive-p) |
| 649 | "Kill the filter group at point. | 649 | "Kill the filter group at point. |
| 650 | See also `ibuffer-kill-filter-group'." | 650 | See also `ibuffer-kill-filter-group'." |
| 651 | (interactive "P") | 651 | (interactive "P\np") |
| 652 | (ibuffer-aif (save-excursion | 652 | (ibuffer-aif (save-excursion |
| 653 | (ibuffer-forward-line 0) | 653 | (ibuffer-forward-line 0) |
| 654 | (get-text-property (point) 'ibuffer-filter-group-name)) | 654 | (get-text-property (point) 'ibuffer-filter-group-name)) |
| 655 | (progn | 655 | (progn |
| 656 | (ibuffer-kill-filter-group it)) | 656 | (ibuffer-kill-filter-group it)) |
| 657 | (funcall (if (interactive-p) #'call-interactively #'funcall) | 657 | (funcall (if interactive-p #'call-interactively #'funcall) |
| 658 | #'kill-line arg))) | 658 | #'kill-line arg))) |
| 659 | 659 | ||
| 660 | (defun ibuffer-insert-filter-group-before (newgroup group) | 660 | (defun ibuffer-insert-filter-group-before (newgroup group) |