Function: shell-bookmark-make-record
shell-bookmark-make-record is a byte-compiled function defined in
shell.el.gz.
Signature
(shell-bookmark-make-record)
Documentation
Create a bookmark record for the current shell-mode buffer.
Handle both local and remote shell buffers.
For ad-hoc multi-hop remote connections, see Info node
(tramp)Ad-hoc multi-hops.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defun shell-bookmark-make-record ()
"Create a bookmark record for the current `shell-mode' buffer.
Handle both local and remote shell buffers.
For ad-hoc multi-hop remote connections, see Info node
`(tramp)Ad-hoc multi-hops'."
(let ((bookmark-shell-file-name
(or (connection-local-value shell-file-name) sh-shell-file)))
`((defaults . ,(funcall shell-bookmark-defaults-function))
(location . ,default-directory)
(shell-file-name . ,bookmark-shell-file-name)
(handler . shell-bookmark-jump))))