Variable: shell-bookmark-name-function
shell-bookmark-name-function is a customizable variable defined in
shell.el.gz.
Value
shell-bookmark-name-from-default-directory
Documentation
Function to generate a shell bookmark name.
The default is shell-bookmark-name-from-default-directory, which see.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-bookmark-name-function
#'shell-bookmark-name-from-default-directory
"Function to generate a shell bookmark name.
The default is `shell-bookmark-name-from-default-directory', which see."
:group 'shell
:type `(choice (function-item ,#'shell-bookmark-name-from-default-directory)
(function-item ,#'shell-bookmark-name-from-buffer-name)
function)
:version "31.1")