Archived
1
0
Fork 0
This repository has been archived on 2024-10-19. You can view files and clone it, but cannot push or open issues or pull requests.
emacs/elpa/async-20240719.640/async-autoloads.el

211 lines
7.1 KiB
EmacsLisp
Raw Normal View History

2024-03-20 13:57:39 +00:00
;;; async-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*-
;; Generated by the `loaddefs-generate' function.
;; This file is part of GNU Emacs.
2022-04-25 19:22:36 +00:00
;;; Code:
2024-03-20 13:57:39 +00:00
(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
2022-04-25 19:22:36 +00:00
;;; Generated autoloads from async.el
(autoload 'async-start-process "async" "\
Start the executable PROGRAM asynchronously named NAME. See `async-start'.
PROGRAM is passed PROGRAM-ARGS, calling FINISH-FUNC with the
process object when done. If FINISH-FUNC is nil, the future
object will return the process object when the program is
finished. Set DEFAULT-DIRECTORY to change PROGRAM's current
working directory.
2024-03-20 13:57:39 +00:00
(fn NAME PROGRAM FINISH-FUNC &rest PROGRAM-ARGS)")
2022-04-25 19:22:36 +00:00
(autoload 'async-start "async" "\
Execute START-FUNC (often a lambda) in a subordinate Emacs process.
When done, the return value is passed to FINISH-FUNC. Example:
(async-start
;; What to do in the child process
(lambda ()
(message \"This is a test\")
(sleep-for 3)
222)
;; What to do when it finishes
(lambda (result)
(message \"Async process done, result should be 222: %s\"
result)))
2023-03-22 11:44:34 +00:00
If you call `async-send' from a child process, the message will
be also passed to the FINISH-FUNC. You can test RESULT to see if
it is a message by using `async-message-p'. If nil, it means
this is the final result. Example of the FINISH-FUNC:
(lambda (result)
(if (async-message-p result)
(message \"Received a message from child process: %s\" result)
(message \"Async process done, result: %s\" result)))
2022-04-25 19:22:36 +00:00
If FINISH-FUNC is nil or missing, a future is returned that can
be inspected using `async-get', blocking until the value is
ready. Example:
(let ((proc (async-start
;; What to do in the child process
(lambda ()
(message \"This is a test\")
(sleep-for 3)
222))))
(message \"I'm going to do some work here\") ;; ....
(message \"Waiting on async process, result should be 222: %s\"
(async-get proc)))
If you don't want to use a callback, and you don't care about any
return value from the child process, pass the `ignore' symbol as
the second argument (if you don't, and never call `async-get', it
will leave *emacs* process buffers hanging around):
(async-start
(lambda ()
(delete-file \"a remote file on a slow link\" nil))
\\='ignore)
Special case:
If the output of START-FUNC is a string with properties
e.g. (buffer-string) RESULT will be transformed in a list where the
car is the string itself (without props) and the cdr the rest of
properties, this allows using in FINISH-FUNC the string without
properties and then apply the properties in cdr to this string (if
needed).
Properties handling special objects like markers are returned as
list to allow restoring them later.
See <https://github.com/jwiegley/emacs-async/issues/145> for more infos.
Note: Even when FINISH-FUNC is present, a future is still
returned except that it yields no value (since the value is
passed to FINISH-FUNC). Call `async-get' on such a future always
returns nil. It can still be useful, however, as an argument to
`async-ready' or `async-wait'.
2024-03-20 13:57:39 +00:00
(fn START-FUNC &optional FINISH-FUNC)")
2022-04-25 19:22:36 +00:00
(register-definition-prefixes "async" '("async-"))
;;; Generated autoloads from async-bytecomp.el
(autoload 'async-byte-recompile-directory "async-bytecomp" "\
Compile all *.el files in DIRECTORY asynchronously.
All *.elc files are systematically deleted before proceeding.
2024-03-20 13:57:39 +00:00
(fn DIRECTORY &optional QUIET)")
2022-04-25 19:22:36 +00:00
(defvar async-bytecomp-package-mode nil "\
Non-nil if Async-Bytecomp-Package mode is enabled.
See the `async-bytecomp-package-mode' command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node `Easy Customization')
or call the function `async-bytecomp-package-mode'.")
(custom-autoload 'async-bytecomp-package-mode "async-bytecomp" nil)
(autoload 'async-bytecomp-package-mode "async-bytecomp" "\
Byte compile asynchronously packages installed with package.el.
2024-03-20 13:57:39 +00:00
2022-04-25 19:22:36 +00:00
Async compilation of packages can be controlled by
`async-bytecomp-allowed-packages'.
2024-03-20 13:57:39 +00:00
This is a global minor mode. If called interactively, toggle the
2022-04-25 19:22:36 +00:00
`Async-Bytecomp-Package mode' mode. If the prefix argument is
positive, enable the mode, and if it is zero or negative, disable
the mode.
If called from Lisp, toggle the mode if ARG is `toggle'. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate `(default-value \\='async-bytecomp-package-mode)'.
The mode's hook is called both when the mode is enabled and when
it is disabled.
2024-03-20 13:57:39 +00:00
(fn &optional ARG)" t)
2022-04-25 19:22:36 +00:00
(autoload 'async-byte-compile-file "async-bytecomp" "\
Byte compile Lisp code FILE asynchronously.
Same as `byte-compile-file' but asynchronous.
2024-03-20 13:57:39 +00:00
(fn FILE)" t)
2022-04-25 19:22:36 +00:00
(register-definition-prefixes "async-bytecomp" '("async-"))
2024-07-28 16:03:37 +00:00
;;; Generated autoloads from async-package.el
(register-definition-prefixes "async-package" '("async-package-"))
2022-04-25 19:22:36 +00:00
;;; Generated autoloads from dired-async.el
(defvar dired-async-mode nil "\
Non-nil if Dired-Async mode is enabled.
See the `dired-async-mode' command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node `Easy Customization')
or call the function `dired-async-mode'.")
(custom-autoload 'dired-async-mode "dired-async" nil)
(autoload 'dired-async-mode "dired-async" "\
Do dired actions asynchronously.
2024-03-20 13:57:39 +00:00
This is a global minor mode. If called interactively, toggle the
2022-04-25 19:22:36 +00:00
`Dired-Async mode' mode. If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is `toggle'. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate `(default-value \\='dired-async-mode)'.
The mode's hook is called both when the mode is enabled and when
it is disabled.
2024-03-20 13:57:39 +00:00
(fn &optional ARG)" t)
2022-04-25 19:22:36 +00:00
(autoload 'dired-async-do-copy "dired-async" "\
Run dired-do-copy asynchronously.
2024-03-20 13:57:39 +00:00
(fn &optional ARG)" t)
2022-04-25 19:22:36 +00:00
(autoload 'dired-async-do-symlink "dired-async" "\
Run dired-do-symlink asynchronously.
2024-03-20 13:57:39 +00:00
(fn &optional ARG)" t)
2022-04-25 19:22:36 +00:00
(autoload 'dired-async-do-hardlink "dired-async" "\
Run dired-do-hardlink asynchronously.
2024-03-20 13:57:39 +00:00
(fn &optional ARG)" t)
2022-04-25 19:22:36 +00:00
(autoload 'dired-async-do-rename "dired-async" "\
Run dired-do-rename asynchronously.
2024-03-20 13:57:39 +00:00
(fn &optional ARG)" t)
2022-04-25 19:22:36 +00:00
(register-definition-prefixes "dired-async" '("dired-async-"))
;;; Generated autoloads from smtpmail-async.el
(register-definition-prefixes "smtpmail-async" '("async-smtpmail-"))
2024-03-20 13:57:39 +00:00
;;; End of scraped data
(provide 'async-autoloads)
2022-04-25 19:22:36 +00:00
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
2024-03-20 13:57:39 +00:00
;; no-native-compile: t
;; coding: utf-8-emacs-unix
2022-04-25 19:22:36 +00:00
;; End:
2024-03-20 13:57:39 +00:00
2022-04-25 19:22:36 +00:00
;;; async-autoloads.el ends here