Partially sync files.el from XEmacs 21.5 for wildcard support.
authorSteve Youngs <steve@sxemacs.org>
Sat, 4 Jul 2015 02:23:33 +0000 (12:23 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 4 Jul 2015 02:23:33 +0000 (12:23 +1000)
commit56c8b099ccef8240d76c6f88c3f31d86ae22cfba
tree58606b3024ef97117d8c87655f88374a1aaaa438
parent8735e449d5e2c97356dd317eae27cc075e059f55
Partially sync files.el from XEmacs 21.5 for wildcard support.

This changeset partially syncs files.el with XEmacs 21.5 (cb65bfaf7110
tip) to give #'find-file and friends support for wildcards.

With this, you can do things like: `C-x C-f /path/to/*.c' and all .c files
in /path/to/ will be opened.  Oh, and it also means that the current
ispell XEmacs package will work again.

* lisp/files.el (find-directory-functions): New.
(switch-to-next-buffer): New.
(switch-to-previous-buffer): New.
(switch-to-next-buffer-in-group): New and fixed to not use
obsolete vars.
(switch-to-previous-buffer-in-group): New. and fixed to not use
obsolete vars.
(find-file-create-switch-thunk): New.
(find-file): Synched up with XEmacs 21.5
cb65bfaf7110 tip.
(find-file-wildcards): New.
(find-file-suppress-same-file-warnings): New.
(find-file-noselect): Synched up with XEmacs 21.5 cb65bfaf7110
tip.
(find-file-noselect-1): New.
(insert-file-literally): New.
(find-file-literally): New.
(file-expand-wildcards): New.
(shell-quote-wildcard-pattern): New.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
lisp/files.el