* files.el (file-expand-wildcards): In case of remote files, check
commit1f3611c61a81326ae8a7af8ada880b3c64afdeee
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Dec 2009 13:18:03 +0000 (17 13:18 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Dec 2009 13:18:03 +0000 (17 13:18 +0000)
treea9459bd1af71db96c23084071632c38789fcab3e
parent72707255d18e870e88bc15531bf4cb00bb597607
* files.el (file-expand-wildcards): In case of remote files, check
only local file name part for wildcards.  Provide feature 'files
and subfeature 'remote-wildcards.  (Bug#5198)

* net/tramp.el (tramp-handle-file-remote-p): Expand file name only
if there is already an established connection.
(tramp-advice-file-expand-wildcards): Remove it.

* net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
(tramp-advice-file-expand-wildcards): Moved from tramp.el.
Activate advice for older GNU Emacs versions.  (Bug#5237)
lisp/ChangeLog
lisp/files.el
lisp/net/tramp-compat.el
lisp/net/tramp.el