summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/pdf-info.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/pdf-info.el b/lisp/pdf-info.el
index 2f9da62..22d69ba 100644
--- a/lisp/pdf-info.el
+++ b/lisp/pdf-info.el
@@ -982,6 +982,9 @@ FIXME: -1 = 24
See `pdf-info-getannots' for the kind of value of this function
returns."
(pdf-info-assert-writable-annotations)
+ (when (consp file-or-buffer)
+ (push file-or-buffer markup-edges)
+ (setq file-or-buffer nil))
(apply
'pdf-info-query
'addannot