mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(ibuffer-accumulate-lines): Moved to replace.el.
This commit is contained in:
parent
c06bd65eac
commit
e69738c939
1 changed files with 0 additions and 19 deletions
|
|
@ -721,25 +721,6 @@ width and the longest string in LIST."
|
|||
(insert (pop list)))
|
||||
(insert "\n")))))
|
||||
|
||||
(defun ibuffer-accumulate-lines (count)
|
||||
(save-excursion
|
||||
(let ((forwardp (> count 0))
|
||||
(result nil))
|
||||
(while (not (or (zerop count)
|
||||
(if forwardp
|
||||
(eobp)
|
||||
(bobp))))
|
||||
(if forwardp
|
||||
(decf count)
|
||||
(incf count))
|
||||
(push
|
||||
(buffer-substring
|
||||
(line-beginning-position)
|
||||
(line-end-position))
|
||||
result)
|
||||
(forward-line (if forwardp 1 -1)))
|
||||
(nreverse result))))
|
||||
|
||||
(defsubst ibuffer-current-mark ()
|
||||
(cadr (get-text-property (line-beginning-position)
|
||||
'ibuffer-properties)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue