summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAndreas Politz <politza@hochschule-trier.de>2018-09-24 18:38:20 +0200
committerAndreas Politz <politza@hochschule-trier.de>2018-09-24 18:38:20 +0200
commitce7208191b2bc20663398b189b704c5a1083af4b (patch)
treeeedee6ec17b1ac9a0a0f9b28f555a5ae4564b81f /lisp
parent30be1f75cc47a719ba88e4a2c2af2df4f05ba934 (diff)
Remove dependency on seq.el
Diffstat (limited to 'lisp')
-rw-r--r--lisp/pdf-annot.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/pdf-annot.el b/lisp/pdf-annot.el
index b5e2a7c..982aee5 100644
--- a/lisp/pdf-annot.el
+++ b/lisp/pdf-annot.el
@@ -32,7 +32,6 @@
(require 'tablist)
(require 'cl-lib)
-
;; * ================================================================== *
;; * Customizations
@@ -982,10 +981,11 @@ Return the new annotation."
(if (eq type 'text)
(car edges)
(apply #'pdf-util-edges-union
- (seq-mapcat
- (lambda (e)
- (pdf-info-getselection page e))
- edges)))
+ (apply #'append
+ (mapcar
+ (lambda (e)
+ (pdf-info-getselection page e))
+ edges))))
type
nil
(if (not (eq type 'text)) edges)))