1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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.
This commit is contained in:
Michael Albinus 2022-09-18 16:53:49 +02:00
parent baf1a7a4a0
commit e5aeb5eaec
3 changed files with 7 additions and 7 deletions

View file

@ -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