Function: bs--mark-unmark

bs--mark-unmark is a byte-compiled function defined in bs.el.gz.

Signature

(bs--mark-unmark COUNT FUN)

Documentation

Call FUN on COUNT consecutive buffers of *buffer-selection*.

Source Code

;; Defined in /usr/src/emacs/lisp/bs.el.gz
(defun bs--mark-unmark (count fun)
  "Call FUN on COUNT consecutive buffers of *buffer-selection*."
  (let ((dir (if (> count 0) 1 -1)))
    (dotimes (_i (abs count))
      (let ((buffer (bs--current-buffer)))
	(when buffer (funcall fun buffer))
	(bs--update-current-line)
	(bs-down dir)))))