From: Eli Zaretskii Date: Fri, 9 Sep 2022 19:10:00 +0000 (+0300) Subject: ; Fix doc strings in shell.el X-Git-Tag: emacs-29.0.90~1856^2~630 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9189ad45612141cc9db5c3e98de5e44e07e6f9b0;p=emacs.git ; Fix doc strings in shell.el * lisp/shell.el (shell-highlight-undef-defined-face) (shell-highlight-undef-remote-file-name-inhibit-cache) (shell--highlight-undef-exec-cache): Fix wording and typos. --- diff --git a/lisp/shell.el b/lisp/shell.el index b65792e10a9..eccac663768 100644 --- a/lisp/shell.el +++ b/lisp/shell.el @@ -1553,7 +1553,7 @@ Returns t if successful." (defface shell-highlight-undef-defined-face '((t :inherit 'font-lock-function-name-face)) - "Face used for existent shell commands." + "Face used for existing shell commands." :group 'shell :version "29.1") @@ -1570,12 +1570,12 @@ Returns t if successful." :version "29.1") (defcustom shell-highlight-undef-remote-file-name-inhibit-cache nil - "Whether to use cache to determine fontification a shell command. -When fontification of non-existent commands is enabled on a -remote shell buffer, use cache to speed up searching for + "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 options is used to -control expiry of this cache. See -`remote-file-name-inhibit-cache' for description." +control expiry of this cache. See `remote-file-name-inhibit-cache' +for description." :group 'faces :type '(choice (const :tag "Do not inhibit file name cache" nil) @@ -1589,7 +1589,7 @@ control expiry of this cache. See "Cache of executable files found in `exec-path'. An alist, whose elements are of the form \(REMOTE TIME EXECUTABLES), where REMOTE is a string, returned by -`file-remote-p', TIME is the return value of `float-time' end +`file-remote-p', TIME is the return value of `float-time', and EXECUTABLES is a hash table with keys being the base-names of executable files.