]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/tramp.el (tramp-local-host-regexp): Adapt :version.
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 5 Feb 2024 11:55:27 +0000 (12:55 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 10:52:07 +0000 (11:52 +0100)
(cherry picked from commit dbc5fafa311823f3a78d4ad5a395e4d87d31d9bd)

lisp/net/tramp-archive.el
lisp/net/tramp-compat.el
lisp/net/tramp.el

index 298cacdb0e0b8b26ea24d287408cdf681036c455..752462d8fa3d203e25d6aa2066ebe829a975175f 100644 (file)
@@ -389,7 +389,7 @@ arguments to pass to the OPERATION."
   "Add archive file name handler to `file-name-handler-alist'."
   (when (and tramp-archive-enabled
              (not
-              (rassq 'tramp-archive-file-name-handler file-name-handler-alist)))
+              (rassq #'tramp-archive-file-name-handler file-name-handler-alist)))
     (add-to-list 'file-name-handler-alist
                 (cons (tramp-archive-autoload-file-name-regexp)
                       #'tramp-archive-autoload-file-name-handler))
@@ -443,7 +443,7 @@ arguments to pass to the OPERATION."
   (and (tramp-archive-file-name-p name)
        (match-string 2 name)))
 
-(defvar tramp-archive-hash (make-hash-table :test 'equal)
+(defvar tramp-archive-hash (make-hash-table :test #'equal)
   "Hash table for archive local copies.
 The hash key is the archive name.  The value is a cons of the
 used `tramp-file-name' structure for tramp-gvfs, and the file
index 87b20b982f95dd26308de30f12ca75bf4bc53c3c..061766090a048af99c5729e7e0b43fd3d16961ff 100644 (file)
@@ -309,7 +309,7 @@ Also see `ignore'."
 
 ;; Macro `connection-local-p' is new in Emacs 30.1.
 (if (macrop 'connection-local-p)
-    (defalias 'tramp-compat-connection-local-p #'connection-local-p)
+    (defalias 'tramp-compat-connection-local-p 'connection-local-p)
   (defmacro tramp-compat-connection-local-p (variable)
     "Non-nil if VARIABLE has a connection-local binding in `default-directory'."
     `(let (connection-local-variables-alist file-local-variables-alist)
index c4e4229b82f7df80136b668abd4631b8deabcffe..fce7c5b28bb41dde8bb73d4cef48e8ac31d6b20a 100644 (file)
@@ -557,7 +557,7 @@ host runs a restricted shell, it shall be added to this list, too."
       eos)
   "Host names which are regarded as local host.
 If the local host runs a chrooted environment, set this to nil."
-  :version "30.1"
+  :version "29.3"
   :type '(choice (const :tag "Chrooted environment" nil)
                 (regexp :tag "Host regexp")))