* image-dired.el (image-dired-dired-toggle-marked-thumbs):
authorJuri Linkov <juri@jurta.org>
Fri, 28 May 2010 19:18:47 +0000 (22:18 +0300)
committerJuri Linkov <juri@jurta.org>
Fri, 28 May 2010 19:18:47 +0000 (22:18 +0300)
Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
(Bug#5270)

lisp/ChangeLog
lisp/image-dired.el

index bd7ded3..8dc505c 100644 (file)
@@ -1,3 +1,9 @@
+2010-05-28  Juri Linkov  <juri@jurta.org>
+
+       * image-dired.el (image-dired-dired-toggle-marked-thumbs):
+       Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
+       (Bug#5270)
+
 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
index 220ad69..a74ddd3 100644 (file)
@@ -642,7 +642,7 @@ previous -ARG, if ARG<0) files."
   (interactive "P")
   (dired-map-over-marks
    (let* ((image-pos  (dired-move-to-filename))
-          (image-file (dired-get-filename 'no-dir t))
+          (image-file (dired-get-filename nil t))
           thumb-file
           overlay)
      (when (and image-file (string-match-p (image-file-name-regexp) image-file))