jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
829 stars 68 forks source link

Preserve value of async-prompt-for-password when async-start is called #182

Closed bcc32 closed 6 months ago

bcc32 commented 6 months ago

This allows callers of async-start to let-bind async-prompt-for-password (e.g., to nil to prevent any prompting on data that might contain arbitrary sexps). The value in effect while async-start is called is saved in the process's buffer, and is therefore used by async-read-from-client since it makes the process's buffer current.

thierryvolpiatto commented 6 months ago

Thanks, closing now.