Minor tramp-archive.el fix

* lisp/net/tramp-archive.el (tramp-archive-file-name-regexp):
Use `ignore-errors'.
This commit is contained in:
Michael Albinus 2023-01-07 12:07:10 +01:00
parent 5636f14856
commit de8d6bd329

View file

@ -200,7 +200,7 @@ It must be supported by libarchive(3).")
;; be an "Eager macro-expansion failure" when unloading/reloading Tramp.
;;;###tramp-autoload
(defconst tramp-archive-file-name-regexp
(eval-when-compile (tramp-archive-autoload-file-name-regexp))
(eval-when-compile (ignore-errors (tramp-archive-autoload-file-name-regexp)))
"Regular expression matching archive file names.")
;;;###tramp-autoload