• Michael Albinus's avatar
    Use lexical-bind in Tramp · e1392faa
    Michael Albinus authored
    * lisp/net/tramp*.el: Add lexical-binding cookie.  Move declarations up.
    
    * lisp/net/tramp-adb.el (tramp-adb-parse-device-names): Use `push'
    rather than `add-to-list'.
    (tramp-adb-get-device): Remove unused variable.
    
    * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): Remove unused
    variable.
    
    * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
    (tramp-find-file-name-coding-system-alist): Use `push' rather
    than `add-to-list'.
    
    * test/lisp/net/tramp-tests.el: Add lexical-binding cookie.
    Require 'dired.  Move declarations up.
    (tramp-test32-make-nearby-temp-file): Wrap `make-nearby-temp-file'
    and `temporary-file-directory' calls with `with-no-warnings'.
    (tramp-test35-asynchronous-requests): Mark unused variable.
    e1392faa
tramp-adb.el 48 KB