From: Dmitry Gutov Date: Thu, 5 May 2016 13:01:52 +0000 (+0300) Subject: `nreverse' the marker pairs list X-Git-Tag: emacs-25.0.94~28 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/3347a733e0778dfefaeabe28ae73f4226236a881 `nreverse' the marker pairs list * lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse' the marker pairs list for each buffer before returning. --- diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 1c28390258..f651dc9cd1 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -570,7 +570,7 @@ references displayed in the current *xref* buffer." (t (setq chunk-done t next-pair pair)))))))) - (cons file-buf pairs))) + (cons file-buf (nreverse pairs)))) (:cleanup (dolist (pair all-pairs) (move-marker (car pair) nil)