aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2022-09-18 16:53:49 +0200
committerMichael Albinus2022-09-18 16:53:49 +0200
commite5aeb5eaecd5f3a769ac72259ee893353313e610 (patch)
treebe12e2c3ea48cb3010cf775c3351340f0624e034
parentbaf1a7a4a0f21636ea8314a6a927f69a0c66aac5 (diff)
downloademacs-e5aeb5eaecd5f3a769ac72259ee893353313e610.tar.gz
emacs-e5aeb5eaecd5f3a769ac72259ee893353313e610.zip
Minor Tramp cleanups
* lisp/net/tramp-compat.el (tramp-compat-rx): Declare. * lisp/net/tramp-integration.el (info-lookup-maybe-add-help): Fix `rx' call.
-rw-r--r--lisp/net/tramp-cache.el3
-rw-r--r--lisp/net/tramp-compat.el1
-rw-r--r--lisp/net/tramp-integration.el10
3 files changed, 7 insertions, 7 deletions
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el
index 58954c238e0..d8f31daa1fa 100644
--- a/lisp/net/tramp-cache.el
+++ b/lisp/net/tramp-cache.el
@@ -43,8 +43,7 @@
43;; existence, or "file-attributes" caches the result of the function 43;; existence, or "file-attributes" caches the result of the function
44;; `file-attributes'. These entries have a timestamp, and they 44;; `file-attributes'. These entries have a timestamp, and they
45;; expire after `remote-file-name-inhibit-cache' seconds if this 45;; expire after `remote-file-name-inhibit-cache' seconds if this
46;; variable is set. These properties are taken into account only if 46;; variable is set.
47;; the connection is established, or `non-essential' is nil.
48;; 47;;
49;; - The key is a process. These are temporary properties related to 48;; - The key is a process. These are temporary properties related to
50;; an open connection. Examples: "scripts" keeps shell script 49;; an open connection. Examples: "scripts" keeps shell script
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el
index aae15fafdf2..a7dd9c03f32 100644
--- a/lisp/net/tramp-compat.el
+++ b/lisp/net/tramp-compat.el
@@ -36,6 +36,7 @@
36(require 'shell) 36(require 'shell)
37(require 'subr-x) 37(require 'subr-x)
38 38
39(declare-function tramp-compat-rx "tramp")
39(declare-function tramp-error "tramp") 40(declare-function tramp-error "tramp")
40(declare-function tramp-file-name-handler "tramp") 41(declare-function tramp-file-name-handler "tramp")
41(declare-function tramp-tramp-file-p "tramp") 42(declare-function tramp-tramp-file-p "tramp")
diff --git a/lisp/net/tramp-integration.el b/lisp/net/tramp-integration.el
index 61b2c2ecb7c..b8364b208c3 100644
--- a/lisp/net/tramp-integration.el
+++ b/lisp/net/tramp-integration.el
@@ -217,12 +217,12 @@ NAME must be equal to `tramp-current-connection'."
217 (info-lookup-maybe-add-help 217 (info-lookup-maybe-add-help
218 :mode 'tramp-info-lookup-mode :topic 'symbol 218 :mode 'tramp-info-lookup-mode :topic 'symbol
219 :regexp (rx (+ (not (any "\t\n \"'(),[]`‘’")))) 219 :regexp (rx (+ (not (any "\t\n \"'(),[]`‘’"))))
220 :doc-spec '(("(tramp)Function Index" nil 220 :doc-spec `(("(tramp)Function Index" nil
221 (rx bol blank (+ "-") blank (* nonl) ": ") 221 ,(rx bol blank (+ "-") blank (* nonl) ":" blank)
222 (rx (| blank eol))) 222 ,(rx (| blank eol)))
223 ("(tramp)Variable Index" nil 223 ("(tramp)Variable Index" nil
224 (rx bol blank (+ "-") blank (* nonl) ": ") 224 ,(rx bol blank (+ "-") blank (* nonl) ":" blank)
225 (rx (| blank eol))))) 225 ,(rx (| blank eol)))))
226 226
227 (add-hook 227 (add-hook
228 'tramp-integration-unload-hook 228 'tramp-integration-unload-hook