branch: externals/gnorb
commit 984d5e6372b01defe9c5d246621120da312771f9
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
gnorb-org.el: Don't use nreverse
* gnorb-org.el (gnorb-org-extract-links): `nreverse' was actually losing
the last element of the list (because it wasn't nil terminated?). A
reversed copy of the list works just fine.
---
gnorb-org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnorb-org.el b/gnorb-org.el
index 34cd803..615e48b 100644
--- a/gnorb-org.el
+++ b/gnorb-org.el
@@ -177,7 +177,7 @@ we came from."
strings)
((numberp gnorb-org-mail-scan-scope)
(cl-subseq
- (nreverse strings)
+ (reverse strings)
0 (min
(length strings)
(1+ gnorb-org-mail-scan-scope))))