Closed PythonNut closed 6 years ago
Jonathan Hayase notifications@github.com writes:
Note that This is a test does not appear.
AFAIK this never worked and should not work because this message is called in child emacs, the example in docstring should be instead:
(async-start
;; What to do in the child process
(lambda ()
(message "You should not see this message because it runs in the child emacs")
(sleep-for 3)
222)
;; What to do when it finishes
(lambda (result)
(message "Async process done, result should be 222: %s" result)))
-- Thierry Gpg Key fingerprint = 6CEC 7081 AB33 E251 4AB8 5FC2 28D1 7F53 59F2 9997
Running the following example code:
in an
emacs25.2 -Q
yields the following in the messages buffer:Note that
This is a test
does not appear.