lisp/dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu...
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 6 Aug 2013 01:03:08 +0000 (03:03 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 6 Aug 2013 01:03:08 +0000 (03:03 +0200)
Fixes: debbugs:15028

lisp/ChangeLog
lisp/dired.el

index ad7d82c..c3f908b 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
+       to use looking-at-p instead of looking-at.  (Bug#15028)
+
 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        Revert introduction of isearch-filter-predicates (bug#14714).
index c44cf57..48f1b46 100644 (file)
@@ -1225,7 +1225,7 @@ see `dired-use-ls-dired' for more details.")
       (save-excursion
        (goto-char opoint)
        (when (and (or hdr wildcard)
-                  (not (and (looking-at-p "^  \\(.*\\):$")
+                  (not (and (looking-at "^  \\(.*\\):$")
                             (file-name-absolute-p (match-string 1)))))
          ;; Note that dired-build-subdir-alist will replace the name
          ;; by its expansion, so it does not matter whether what we insert