Function: eca-workspaces--restore-point

eca-workspaces--restore-point is a natively compiled function defined in eca-workspaces.el.

Signature

(eca-workspaces--restore-point ENTITY COLUMN)

Documentation

Move point to ENTITY line at COLUMN, falling back to buffer start.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-workspaces.el
(defun eca-workspaces--restore-point (entity column)
  "Move point to ENTITY line at COLUMN, falling back to buffer start."
  (if-let* ((position (eca-workspaces--find-entity entity)))
      (progn
        (goto-char position)
        (move-to-column (or column 0)))
    (goto-char (point-min))))