emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 1e34d75: Fix typo in 'dired-restore-positions'


From: Martin Rudalics
Subject: [Emacs-diffs] master 1e34d75: Fix typo in 'dired-restore-positions'
Date: Tue, 11 Dec 2018 02:57:01 -0500 (EST)

branch: master
commit 1e34d7579c21b96235ba1a06d97cfae0a5d3f2eb
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    Fix typo in 'dired-restore-positions'
    
    * lisp/dired.el (dired-restore-positions): Fix typo in last
    change fixing Bug#33458.
---
 lisp/dired.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/dired.el b/lisp/dired.el
index e5dc862..72725dc 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1530,7 +1530,7 @@ change; the point does."
               ;; Sanity check of the point marker.
               (when (and (markerp point)
                          (eq (marker-buffer point) buffer))
-                (unless (and (nth 0 prev)
+                (unless (and (nth 1 prev)
                              (dired-goto-file (nth 1 prev)))
                   (goto-char (point-min))
                  (forward-line (1- (nth 2 prev))))



reply via email to

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