changeset 44796:b9d6590397ef

(ibuffer-accumulate-lines): Moved to replace.el.
author Colin Walters <walters@gnu.org>
date Tue, 23 Apr 2002 20:36:01 +0000
parents b614094753a1
children 71fd2ea78dcb
files lisp/ibuffer.el
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ibuffer.el	Tue Apr 23 20:35:37 2002 +0000
+++ b/lisp/ibuffer.el	Tue Apr 23 20:36:01 2002 +0000
@@ -721,25 +721,6 @@
 	  (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)))