emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnorb eaaea81 335/449: Link extraction should return li


From: Stefan Monnier
Subject: [elpa] externals/gnorb eaaea81 335/449: Link extraction should return links in same order
Date: Fri, 27 Nov 2020 23:16:06 -0500 (EST)

branch: externals/gnorb
commit eaaea815a6421dc796eef003f032d3c69059119f
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]