[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/ibuf-macs.el
From: |
Colin Walters |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/ibuf-macs.el |
Date: |
Tue, 21 May 2002 16:59:04 -0400 |
Index: emacs/lisp/ibuf-macs.el
diff -c emacs/lisp/ibuf-macs.el:1.7 emacs/lisp/ibuf-macs.el:1.8
*** emacs/lisp/ibuf-macs.el:1.7 Thu May 2 01:39:42 2002
--- emacs/lisp/ibuf-macs.el Tue May 21 16:59:04 2002
***************
*** 78,85 ****
"Define a column SYMBOL for use with `ibuffer-formats'.
BODY will be called with `buffer' bound to the buffer object, and
! `mark' bound to the current mark on the buffer. The current buffer
! will be `buffer'.
If NAME is given, it will be used as a title for the column.
Otherwise, the title will default to a capitalized version of the
--- 78,85 ----
"Define a column SYMBOL for use with `ibuffer-formats'.
BODY will be called with `buffer' bound to the buffer object, and
! `mark' bound to the current mark on the buffer. The original ibuffer
! buffer will be bound to `ibuffer-buf'.
If NAME is given, it will be used as a title for the column.
Otherwise, the title will default to a capitalized version of the
***************
*** 105,111 ****
`(progn
,(if inline
`(push '(,sym ,bod) ibuffer-inline-columns)
! `(defun ,sym (buffer mark)
,bod))
(put (quote ,sym) 'ibuffer-column-name
,(if (stringp name)
--- 105,111 ----
`(progn
,(if inline
`(push '(,sym ,bod) ibuffer-inline-columns)
! `(defun ,sym (buffer mark ibuffer-buf)
,bod))
(put (quote ,sym) 'ibuffer-column-name
,(if (stringp name)
***************
*** 160,166 ****
(active-opstring "Operate on")
complex)
&rest body)
! "Generate a function named `ibuffer-do-OP', which operates on a buffer.
When an operation is performed, this function will be called once for
each marked buffer, with that buffer current.
--- 160,168 ----
(active-opstring "Operate on")
complex)
&rest body)
! "Generate a function which operates on a buffer.
! OP becomes the name of the function; if it doesn't begin with
! `ibuffer-do-', then that is prepended to it.
When an operation is performed, this function will be called once for
each marked buffer, with that buffer current.
***************
*** 188,194 ****
COMPLEX means this function is special; see the source code of this
macro for exactly what it does."
`(progn
! (defun ,(intern (concat "ibuffer-do-" (symbol-name op))) ,args
,(if (stringp documentation)
documentation
(format "%s marked buffers." active-opstring))
--- 190,198 ----
COMPLEX means this function is special; see the source code of this
macro for exactly what it does."
`(progn
! (defun ,(intern (concat (if (string-match "^ibuffer-do" (symbol-name op))
! "" "ibuffer-do-") (symbol-name op)))
! ,args
,(if (stringp documentation)
documentation
(format "%s marked buffers." active-opstring))