]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in 'dired-restore-positions'
authorMartin Rudalics <rudalics@gmx.at>
Tue, 11 Dec 2018 07:56:15 +0000 (08:56 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 11 Dec 2018 07:56:15 +0000 (08:56 +0100)
* lisp/dired.el (dired-restore-positions): Fix typo in last
change fixing Bug#33458.

lisp/dired.el

index e5dc8623a49b1f22541a2d7aa483ba8c7987b3d4..72725dc8a0918c4d833c5c6c52f292670ab05c66 100644 (file)
@@ -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))))