emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/textmodes/reftex-global.el,v


From: Glenn Morris
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/reftex-global.el,v
Date: Sun, 27 Apr 2008 18:42:45 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/04/27 18:42:45

Index: reftex-global.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/textmodes/reftex-global.el,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- reftex-global.el    10 Apr 2008 14:10:43 -0000      1.36
+++ reftex-global.el    27 Apr 2008 18:42:45 -0000      1.37
@@ -406,16 +406,14 @@
 ;;; beginning/end of the file list, depending of the search direction.
 (defun reftex-isearch-switch-to-next-file (crt-buf &optional wrapp)
   (reftex-access-scan-info)
-  (let* ((cb (buffer-file-name crt-buf))
-        (flist (reftex-all-document-files))
-        (orig-flist flist))
+  (let ((cb (buffer-file-name crt-buf))
+       (flist (reftex-all-document-files)))
     (when flist
       (if wrapp
          (unless isearch-forward
              (setq flist (last flist)))
        (unless isearch-forward
-         (setq flist (nreverse (copy-list flist)))
-         (setq orig-flist flist))
+         (setq flist (reverse flist)))
        (while (not (string= (car flist) cb))
          (setq flist (cdr flist)))
        (setq flist (cdr flist)))




reply via email to

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