Function: actypes::link-to-buffer-tmp

actypes::link-to-buffer-tmp is an interactive and byte-compiled function defined in hactypes.el.

Signature

(actypes::link-to-buffer-tmp BUFFER &optional POINT)

Documentation

Display a BUFFER scrolled to optional POINT.

If POINT is given (an integer or marker), the buffer is displayed with POINT at the top of the window.

This type of link is for use within a single editor session. Use link-to-file instead for a permanent link.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hactypes.el
(defact link-to-buffer-tmp (buffer &optional point)
  "Display a BUFFER scrolled to optional POINT.
If POINT is given (an integer or marker), the buffer is displayed with
POINT at the top of the window.

This type of link is for use within a single editor session.  Use
`link-to-file' instead for a permanent link."
  (interactive "bBuffer to link to: ")
  (if (or (stringp buffer) (bufferp buffer))
      (and (hpath:display-buffer buffer)
	   (integer-or-marker-p point)
	   (progn (goto-char (min (point-max) point))
		  (recenter 0)))
    (hypb:error "(link-to-buffer-tmp): Not a current buffer: %s" buffer)))