Variable: pdf-info-asynchronous
pdf-info-asynchronous is a variable defined in pdf-info.el.
Value
nil
Documentation
If non-nil process queries asynchronously.
More specifically the value should be a function of at 2 arguments (fn STATUS RESPONSE), where STATUS is either nil, for a successful query, or the symbol error. RESPONSE is either the command's response or the error message. This does not work recursive, i.e. if function wants to make another asynchronous query it has to rebind this variable.
Alternatively it may be a list (FN . ARGS), in which case FN will be invoked like (apply FN STATUS RESPONSE ARGS).
Also, all pdf-info functions normally returning a response return nil.
This variable should only be let-bound.
Source Code
;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-info.el
;; * ================================================================== *
;; * Variables
;; * ================================================================== *
(defvar pdf-info-asynchronous nil
"If non-nil process queries asynchronously.
More specifically the value should be a function of at 2
arguments \(fn STATUS RESPONSE\), where STATUS is either nil, for
a successful query, or the symbol error. RESPONSE is either the
command's response or the error message. This does not work
recursive, i.e. if function wants to make another asynchronous
query it has to rebind this variable.
Alternatively it may be a list \(FN . ARGS\), in which case FN
will be invoked like \(apply FN STATUS RESPONSE ARGS\).
Also, all pdf-info functions normally returning a response return
nil.
This variable should only be let-bound.")