]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix Bug#33781
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 18 Dec 2018 12:58:00 +0000 (13:58 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 18 Dec 2018 12:58:00 +0000 (13:58 +0100)
* lisp/net/tramp-cache.el (tramp-connection-properties):
* lisp/net/tramp-sh.el (tramp-remote-path)
(tramp-remote-process-environment, tramp-sh-extra-args):
Reinsert autoload cookie.  (Bug#33781)

* test/lisp/net/tramp-tests.el: Do not require tramp-sh before
changing tramp-remote-path.

lisp/net/tramp-cache.el
lisp/net/tramp-sh.el
test/lisp/net/tramp-tests.el

index 47066760fb69714331e15835d3aefc7092285fcb..f525bb913df6890f817c57b4c238a534d7862ac3 100644 (file)
@@ -72,6 +72,7 @@
 (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
index 05715f2477fa82b910ef7f6fb15d21e7fe4208f6..e4ec735a96c5ec7a32a16a6fc73917f3de8fbf6c 100644 (file)
@@ -466,6 +466,7 @@ The string is used in `tramp-methods'.")
 ;; Darwin: /usr/bin:/bin:/usr/sbin:/sbin
 ;; IRIX64: /usr/bin
 ;; QNAP QTS: ---
+;;;###tramp-autoload
 (defcustom tramp-remote-path
   '(tramp-default-remote-path "/bin" "/usr/bin" "/sbin" "/usr/sbin"
     "/usr/local/bin" "/usr/local/sbin" "/local/bin" "/local/freeware/bin"
@@ -495,6 +496,7 @@ the list by the special value `tramp-own-remote-path'."
                  (const :tag "Private Directories" tramp-own-remote-path)
                  (string :tag "Directory"))))
 
+;;;###tramp-autoload
 (defcustom tramp-remote-process-environment
   '("ENV=''" "TMOUT=0" "LC_CTYPE=''"
     "CDPATH=" "HISTORY=" "MAIL=" "MAILCHECK=" "MAILPATH=" "PAGER=cat"
@@ -518,6 +520,7 @@ based on the Tramp and Emacs versions, and should not be set here."
   :version "26.1"
   :type '(repeat string))
 
+;;;###tramp-autoload
 (defcustom tramp-sh-extra-args '(("/bash\\'" . "-norc -noprofile"))
   "Alist specifying extra arguments to pass to the remote shell.
 Entries are (REGEXP . ARGS) where REGEXP is a regular expression
index c566f81610b6811435103dfeff4b0aa8998ee967..57b67a0bfe4be4cd366612a8dc637c19c12a8a13 100644 (file)
 
 ;; This should happen on hydra only.
 (when (getenv "EMACS_HYDRA_CI")
-  (require 'tramp-sh)
   (add-to-list 'tramp-remote-path 'tramp-own-remote-path))
 
 (defvar tramp--test-enabled-checked nil