emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 992908b09a: Make connection-local variables user options


From: Robert Pluim
Subject: Re: master 992908b09a: Make connection-local variables user options
Date: Tue, 08 Feb 2022 11:14:44 +0100

>>>>> On Mon,  7 Feb 2022 13:32:50 -0500 (EST), Michael Albinus 
>>>>> <Michael.Albinus@gmx.de> said:
    Michael> -(defvar connection-local-profile-alist nil
    Michael> +(defcustom connection-local-profile-alist nil
    Michael>    "Alist mapping connection profiles to variable lists.
    Michael>  Each element in this list has the form (PROFILE VARIABLES).
    Michael>  PROFILE is the name of a connection profile (a symbol).
    Michael>  VARIABLES is a list that declares connection-local variables for
    Michael>  PROFILE.  An element in VARIABLES is an alist whose elements are
    Michael> -of the form (VAR . VALUE).")
    Michael> -
    Michael> -(defvar connection-local-criteria-alist nil
    Michael> +of the form (VAR . VALUE)."
    Michael> +  :type '(repeat (cons (symbol :tag "Profile")
    Michael> +                       (repeat :tag "Variables"
    Michael> +                               (cons (symbol :tag "Variable")
    Michael> +                                     (sexp :tag "Value")))))
    Michael> +  :group 'files
    Michael> +  :group 'tramp
    Michael> +  :version "29.1")

If you 'M-x customize-variable RET connection-local-profile-alist',
then customize will complain that this variable has been set outside
customize, which I think is done in tramp-integration.el. If it needs
a default non-nil value, can you not specify it here?

Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]