summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-integration.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2022-09-18 16:53:49 +0200
committerMichael Albinus <michael.albinus@gmx.de>2022-09-18 16:53:49 +0200
commite5aeb5eaecd5f3a769ac72259ee893353313e610 (patch)
treebe12e2c3ea48cb3010cf775c3351340f0624e034 /lisp/net/tramp-integration.el
parentbaf1a7a4a0f21636ea8314a6a927f69a0c66aac5 (diff)
downloademacs-e5aeb5eaecd5f3a769ac72259ee893353313e610.tar.gz
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.
Diffstat (limited to 'lisp/net/tramp-integration.el')
-rw-r--r--lisp/net/tramp-integration.el10
1 files changed, 5 insertions, 5 deletions
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'."
(info-lookup-maybe-add-help
:mode 'tramp-info-lookup-mode :topic 'symbol
:regexp (rx (+ (not (any "\t\n \"'(),[]`‘’"))))
- :doc-spec '(("(tramp)Function Index" nil
- (rx bol blank (+ "-") blank (* nonl) ": ")
- (rx (| blank eol)))
+ :doc-spec `(("(tramp)Function Index" nil
+ ,(rx bol blank (+ "-") blank (* nonl) ":" blank)
+ ,(rx (| blank eol)))
("(tramp)Variable Index" nil
- (rx bol blank (+ "-") blank (* nonl) ": ")
- (rx (| blank eol)))))
+ ,(rx bol blank (+ "-") blank (* nonl) ":" blank)
+ ,(rx (| blank eol)))))
(add-hook
'tramp-integration-unload-hook