Fix Tramp customization

Do not use the ;;;###tramp-autoload cookie for defcustoms.  This
damages the customisation when Tramp is autoloaded.  Reported by
Joel Reicher <joel.reicher@gmail.com>.

* lisp/net/tramp-cache.el (tramp-verbose): Declare.
(tramp-connection-properties):
* lisp/net/tramp-message.el (tramp-verbose):
Remove ;;;###tramp-autoload cookie.
This commit is contained in:
Michael Albinus 2025-10-14 12:58:27 +02:00
parent bcc33e300a
commit 3aae55acfc
2 changed files with 1 additions and 2 deletions

View file

@ -90,6 +90,7 @@
(require 'time-stamp)
(declare-function tramp-get-method-parameter "tramp")
(defvar tramp-verbose)
;;; -- Cache --
@ -97,7 +98,6 @@
(defvar tramp-cache-data (make-hash-table :test #'equal)
"Hash table for remote files properties.")
;;;###tramp-autoload
(defcustom tramp-connection-properties nil
"List of static connection properties.
Every entry has the form (REGEXP PROPERTY VALUE). The regexp

View file

@ -56,7 +56,6 @@
(defvar tramp-repository-branch)
(defvar tramp-repository-version)
;;;###tramp-autoload
(defcustom tramp-verbose 3
"Verbosity level for Tramp messages.
Any level x includes messages for all levels 1 .. x-1. The levels are