]> git.eshelyaron.com Git - emacs.git/commit
Adapt shadowfile.el for Tramp (Bug#4526, Bug#4846)
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 18 Jul 2018 14:51:56 +0000 (16:51 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 18 Jul 2018 14:51:56 +0000 (16:51 +0200)
commit7a258fa0bb9f9e7600229b95ed54ee5ee0bc9a0c
tree9654a226674f2153c703512f1298adc1866d1ceb
parentcb50077b1eb7c1467f2f200e01599b391d025bfa
Adapt shadowfile.el for Tramp  (Bug#4526, Bug#4846)

* etc/NEWS: Mention changes in shadowfile.el.

* lisp/shadowfile.el (top): Require 'tramp instead of 'ange-ftp.
(shadow-cluster): New defstruct.
(shadow-make-cluster, shadow-cluster-name, shadow-cluster-primary)
(shadow-cluster-regexp, shadow-get-user)
(shadow-parse-fullname): Remove.
(shadow-info-file, shadow-todo-file, shadow-system-name)
(shadow-homedir, shadow-regexp-superquote, shadow-suffix)
(shadow-set-cluster, shadow-get-cluster, shadow-site-name)
(shadow-name-site, shadow-site-primary, shadow-site-cluster)
(shadow-read-site, shadow-parse-name, shadow-make-fullname)
(shadow-replace-name-component, shadow-local-file)
(shadow-expand-cluster-in-file-name, shadow-contract-file-name)
(shadow-same-site, shadow-file-match, shadow-define-cluster)
(shadow-define-literal-group, shadow-define-regexp-group)
(shadow-make-group, shadow-shadows-of-1, shadow-read-files)
(shadow-write-info-file, shadow-write-todo-file)
(shadow-initialize): Adapt variables and functions.

* test/lisp/shadowfile-tests.el: New file.
etc/NEWS
lisp/shadowfile.el
test/lisp/shadowfile-tests.el [new file with mode: 0644]