* doc/emacs/files.texi (Visiting): Fix typo.
* etc/NEWS (execute-file-commands-asynchronously): Be more verbose
about possible values.
* lisp/simple.el (universal-async-argument): Handle also
`negative-argument'.
can continue to edit other files, or call commands. This is
controlled by the user option @code{execute-file-commands-asynchronously}.
If this option is @code{nil} (the default), visiting a file is
-performed synchronously. A regexp value let files, which name matches
-the regexp, being visited asynchronously, and synchronously otherwise.
-The value @code{t} forces asynchronous visiting of files
+performed synchronously. A regexp value lets files, which name
+matches the regexp, being visited asynchronously, and synchronously
+otherwise. The value @code{t} forces asynchronous visiting of files
unconditionally.
If you want to visit all remote files asynchronously, you should set
+++
** Files can be visited asynchronously.
If the new user option 'execute-file-commands-asynchronously' has a
-proper non-nil value, interactive file visiting commands load the file
+non-nil value, interactive file visiting commands load the file
asynchronously into the respective buffer. I.e., Emacs is still
responsive while loading the files, which is useful especially for
-remote files. See the node "(emacs) Visiting" in the user manual for
-the supported commands.
+remote files. If the value is a regular expression, files matching
+this expression are loaded asynchronously. See the node "(emacs)
+Visiting" in the user manual for the supported commands.
\f
* Changes in Specialized Modes and Packages in Emacs 27.1
If it is a regular expression, it must match the file name to be
visited. This behavior is toggled by \\[universal-async-argument]
prior the command invocation."
-:group 'files
+ :group 'files
:version "27.1"
:type '(choice boolean regexp))
;; `read-key-sequence' ignores quit, so make an explicit check.
(if (equal last-input-event (nth 3 (current-input-mode)))
(keyboard-quit))
- (when (memq cmd '(universal-argument digit-argument))
+ (when (memq cmd '(universal-argument digit-argument negative-argument))
(call-interactively cmd)
;; Process keys bound in `universal-argument-map'.