diff options
| author | Colin Walters | 2002-04-14 05:48:09 +0000 |
|---|---|---|
| committer | Colin Walters | 2002-04-14 05:48:09 +0000 |
| commit | bde5791106abfdd8a7738419481f2074b6ae7e98 (patch) | |
| tree | 93d6960888ae80d979b54e05d473dea64e4b45ac /lisp | |
| parent | 23cbf556abc3fa698228c250f84cccf9187e03c3 (diff) | |
| download | emacs-bde5791106abfdd8a7738419481f2074b6ae7e98.tar.gz emacs-bde5791106abfdd8a7738419481f2074b6ae7e98.zip | |
Update callers of `ibuffer-map-lines'.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ibuf-ext.el | 8 | ||||
| -rw-r--r-- | lisp/ibuf-macs.el | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 67586e43958..64e335c3540 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el | |||
| @@ -815,7 +815,7 @@ to move by. The default is `ibuffer-marked-char'." | |||
| 815 | (message "No buffers marked; use 'm' to mark a buffer") | 815 | (message "No buffers marked; use 'm' to mark a buffer") |
| 816 | (let ((count | 816 | (let ((count |
| 817 | (ibuffer-map-marked-lines | 817 | (ibuffer-map-marked-lines |
| 818 | #'(lambda (buf mark beg end) | 818 | #'(lambda (buf mark) |
| 819 | 'kill)))) | 819 | 'kill)))) |
| 820 | (message "Killed %s lines" count)))) | 820 | (message "Killed %s lines" count)))) |
| 821 | 821 | ||
| @@ -899,7 +899,7 @@ You can then feed the file name(s) to other commands with C-y. | |||
| 899 | (t | 899 | (t |
| 900 | 'name)))) | 900 | 'name)))) |
| 901 | (ibuffer-map-marked-lines | 901 | (ibuffer-map-marked-lines |
| 902 | #'(lambda (buf mark beg end) | 902 | #'(lambda (buf mark) |
| 903 | (setq ibuffer-copy-filename-as-kill-result | 903 | (setq ibuffer-copy-filename-as-kill-result |
| 904 | (concat ibuffer-copy-filename-as-kill-result | 904 | (concat ibuffer-copy-filename-as-kill-result |
| 905 | (let ((name (buffer-file-name buf))) | 905 | (let ((name (buffer-file-name buf))) |
| @@ -916,7 +916,7 @@ You can then feed the file name(s) to other commands with C-y. | |||
| 916 | (defun ibuffer-mark-on-buffer (func) | 916 | (defun ibuffer-mark-on-buffer (func) |
| 917 | (let ((count | 917 | (let ((count |
| 918 | (ibuffer-map-lines | 918 | (ibuffer-map-lines |
| 919 | #'(lambda (buf mark beg end) | 919 | #'(lambda (buf mark) |
| 920 | (when (funcall func buf) | 920 | (when (funcall func buf) |
| 921 | (ibuffer-set-mark-1 ibuffer-marked-char) | 921 | (ibuffer-set-mark-1 ibuffer-marked-char) |
| 922 | t))))) | 922 | t))))) |
| @@ -1155,7 +1155,7 @@ defaults to one." | |||
| 1155 | (let ((ibuffer-do-occur-bufs nil)) | 1155 | (let ((ibuffer-do-occur-bufs nil)) |
| 1156 | ;; Accumulate a list of marked buffers | 1156 | ;; Accumulate a list of marked buffers |
| 1157 | (ibuffer-map-marked-lines | 1157 | (ibuffer-map-marked-lines |
| 1158 | #'(lambda (buf mark beg end) | 1158 | #'(lambda (buf mark) |
| 1159 | (push buf ibuffer-do-occur-bufs))) | 1159 | (push buf ibuffer-do-occur-bufs))) |
| 1160 | (ibuffer-do-occur-1 regexp ibuffer-do-occur-bufs | 1160 | (ibuffer-do-occur-1 regexp ibuffer-do-occur-bufs |
| 1161 | (get-buffer-create "*Ibuffer-occur*") | 1161 | (get-buffer-create "*Ibuffer-occur*") |
diff --git a/lisp/ibuf-macs.el b/lisp/ibuf-macs.el index 23b5e18fed4..7b05f8dba30 100644 --- a/lisp/ibuf-macs.el +++ b/lisp/ibuf-macs.el | |||
| @@ -227,7 +227,7 @@ macro for exactly what it does." | |||
| 227 | 'ibuffer-map-deletion-lines) | 227 | 'ibuffer-map-deletion-lines) |
| 228 | (t | 228 | (t |
| 229 | 'ibuffer-map-marked-lines)) | 229 | 'ibuffer-map-marked-lines)) |
| 230 | #'(lambda (buf mark beg end) | 230 | #'(lambda (buf mark) |
| 231 | ,(if (eq modifier-p :maybe) | 231 | ,(if (eq modifier-p :maybe) |
| 232 | `(let ((ibuffer-tmp-previous-buffer-modification | 232 | `(let ((ibuffer-tmp-previous-buffer-modification |
| 233 | (buffer-modified-p buf))) | 233 | (buffer-modified-p buf))) |