Commits

Anonymous committed 957a950

Get rid of diredp dependency

Comments (0)

Files changed (1)

files/isearch-defs.el

   (isearch-exit)
   (if (eq major-mode 'dired-mode)
       ;; we're assuming no files are marked
-      (let ((d (car (dired-get-marked-files))))
+      (let ((d (dired-get-filename)))
         (dired-find-file)
         (when (file-directory-p d)
           (dired-isearch-filenames)))))