Function: embark-target-buffer-at-point

embark-target-buffer-at-point is a byte-compiled function defined in embark.el.

Signature

(embark-target-buffer-at-point)

Documentation

Target buffer at point in Ibuffer or the buffer menu.

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-target-buffer-at-point ()
  "Target buffer at point in Ibuffer or the buffer menu."
  (when-let* ((bol (pos-bol))
              (buf (or (car (get-text-property bol 'ibuffer-properties))
                       (get-text-property bol 'tabulated-list-id)))
              (_ (buffer-live-p buf)))
    `(buffer ,(buffer-name buf) ,bol . ,(pos-eol))))