]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-build-subdir-alist): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 Oct 2006 03:08:47 +0000 (03:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 Oct 2006 03:08:47 +0000 (03:08 +0000)
lisp/ChangeLog
lisp/dired.el

index 9deec93eb24a13dac6bb95c03e49928101618f06..6ef8170c2a1c162f56d54cc9938f28540ff8ec87 100644 (file)
@@ -1,3 +1,7 @@
+2006-10-01  Chris Moore <christopher.ian.moore@gmail.com>  (tiny change)
+
+       * dired.el (dired-build-subdir-alist): Fix previous change.
+
 2006-10-01  Johan Bockg\e,Ae\e(Brd  <bojohan+mail@dd.chalmers.se>
 
        * simple.el (undo-elt-crosses-region): Fix the inequalities.
index dd7cdcdb522226008d716056bbd68e5edaf3833b..491ef261c116bea18aff76a64d559b09af7171bd 100644 (file)
@@ -2225,14 +2225,14 @@ instead of `dired-actual-switches'."
                                (substring new-dir-name (match-end 0)))
                      (expand-file-name new-dir-name))))
            (delete-region (point) (match-end 1))
-           (insert new-dir-name)))
-       (setq count (1+ count))
-       (dired-alist-add-1 new-dir-name
-                        ;; Place a sub directory boundary between lines.
-                        (save-excursion
-                          (goto-char (match-beginning 0))
-                          (beginning-of-line)
-                          (point-marker))))
+           (insert new-dir-name))
+         (setq count (1+ count))
+         (dired-alist-add-1 new-dir-name
+                            ;; Place a sub directory boundary between lines.
+                            (save-excursion
+                              (goto-char (match-beginning 0))
+                              (beginning-of-line)
+                              (point-marker)))))
       (if (and (> count 1) (interactive-p))
          (message "Buffer includes %d directories" count)))
     ;; We don't need to sort it because it is in buffer order per