summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/timer-tests.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2019-11-17 21:21:48 +0100
committerRobert Pluim <rpluim@gmail.com>2019-11-25 16:00:09 +0100
commit2d12d4d2d467f5df81e232707ad9191264b7c2b0 (patch)
treecebd1af000cff9ef162f2d976f0bfd632471d2f0 /test/lisp/emacs-lisp/timer-tests.el
parent5a3e96b17c2a948ac952295962dc6e281ec5cad5 (diff)
downloademacs-2d12d4d2d467f5df81e232707ad9191264b7c2b0.tar.gz
emacs-2d12d4d2d467f5df81e232707ad9191264b7c2b0.tar.bz2
emacs-2d12d4d2d467f5df81e232707ad9191264b7c2b0.zip
Handle auth-source-search failures in open-network-stream
If the user cancels the gpg decryption pop-up, auth-source-search fails *and* epa pops up an error buffer. Fix epa to allow suppressing that, and ignore errors returned from auth-source-search. * lisp/epa.el (epa-suppress-error-buffer): New defvar. Bind non-nil to stop epa popping up an error buffer. * lisp/net/network-stream.el: require epa when byte-compiling. (network-stream-certificate): ignore errors when calling auth-source-search, and suppress the epa error buffer.
Diffstat (limited to 'test/lisp/emacs-lisp/timer-tests.el')
0 files changed, 0 insertions, 0 deletions