]> git.eshelyaron.com Git - emacs.git/commit
Rework "async" toggling of file visiting commands
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Aug 2018 09:45:22 +0000 (11:45 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 5 Aug 2018 09:45:22 +0000 (11:45 +0200)
commit33363e5f6232616dbcddf0a31a25d33b0347f160
tree50a4cd99110332d22b98495e5ca596dcac7fac72
parentd1f39ebc915d9824193c7731019e5dd78651af0a
Rework "async" toggling of file visiting commands

* doc/emacs/files.texi (Visiting):
* doc/lispref/files.texi (Visiting Functions):
* etc/NEWS: Use 'execute-file-commands-asynchronously' rather than
'find-file-asynchronously'.

* lisp/files.el (universal-async-argument): New defun.  Bind it
to "C-x &".
(find-file, find-file-other-window, find-file-other-frame)
(find-file-existing, find-alternate-file-other-window)
(find-alternate-file, find-file-literally): Adapt docstring.
(execute-file-commands-asynchronously): Rename from
`find-file-asynchronously'.
(find-file-read-args, find-alternate-file-other-window)
(find-alternate-file): Use it.
doc/emacs/files.texi
doc/lispref/files.texi
etc/NEWS
lisp/files.el
lisp/vc/vc-hooks.el