Variable: shell-highlight-undef-remote-file-name-inhibit-cache

shell-highlight-undef-remote-file-name-inhibit-cache is a customizable variable defined in shell.el.gz.

Value

nil

Documentation

Whether to inhibit cache for fontifying shell commands in remote buffers.

When fontification of non-existent commands is enabled in a remote shell buffer, use a cache to speed up searching for executable files on the remote machine. This option controls expiry of the cache. See remote-file-name-inhibit-cache for a description of the possible options.

This variable was added, or its default value changed, in Emacs 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/shell.el.gz
(defcustom shell-highlight-undef-remote-file-name-inhibit-cache nil
  "Whether to inhibit cache for fontifying shell commands in remote buffers.
When fontification of non-existent commands is enabled in a
remote shell buffer, use a cache to speed up searching for
executable files on the remote machine.  This option controls
expiry of the cache.  See `remote-file-name-inhibit-cache' for
a description of the possible options."
  :group 'faces
  :type '(choice
          (const :tag "Do not cache remote executables" t)
          (const :tag "Cache remote executables" nil)
          (integer :tag "Cache remote executables with expiration"
                   :format "Cache expiry in seconds: %v"
                   :value 10))
  :version "29.1")