Function: eshell-insert-marker

eshell-insert-marker is an interactive and byte-compiled function defined in esh-arg.el.gz.

Signature

(eshell-insert-marker POSITION BUFFER-NAME)

Documentation

Insert a marker into the current buffer at point.

This marker will point to POSITION in BUFFER-NAME.

Probably introduced at or before Emacs version 30.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
(defun eshell-insert-marker (position buffer-name)
  "Insert a marker into the current buffer at point.
This marker will point to POSITION in BUFFER-NAME."
  (interactive "nPosition: \nBName of buffer: ")
  (insert-and-inherit "#<marker " (number-to-string position) " "
                      (eshell-quote-argument buffer-name) ">"))