branch: externals/gnorb
commit eaaea815a6421dc796eef003f032d3c69059119f
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Link extraction should return links in same order
* gnorb-org.el (gnorb-org-extract-links): Produce them in the same order
in which they were found.
---
gnorb-org.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnorb-org.el b/gnorb-org.el
index 5f87924..34cd803 100644
--- a/gnorb-org.el
+++ b/gnorb-org.el
@@ -177,9 +177,10 @@ we came from."
strings)
((numberp gnorb-org-mail-scan-scope)
(cl-subseq
- strings 0 (min
- (length strings)
- (1+ gnorb-org-mail-scan-scope))))
+ (nreverse strings)
+ 0 (min
+ (length strings)
+ (1+ gnorb-org-mail-scan-scope))))
;; We could provide more options here. 'tree vs
;; 'subtree, for instance.
(t