summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-09-09 22:10:00 +0300
committerEli Zaretskii <eliz@gnu.org>2022-09-09 22:10:00 +0300
commit9189ad45612141cc9db5c3e98de5e44e07e6f9b0 (patch)
tree1c5c4514fff217173c6860934baeb4ff51692094
parent3b105e978c42973fb5810a74681f263889fc23c0 (diff)
downloademacs-9189ad45612141cc9db5c3e98de5e44e07e6f9b0.tar.gz
; 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.
-rw-r--r--lisp/shell.el14
1 files changed, 7 insertions, 7 deletions
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.