ffap-list-directory is nice but it misleadingly gives the same prompt
as dired, "Dired file or URL:"

You mean "the same prompt as dired-at-point".  I can offer the
attached patch.  Could you try it?

*** ffap.el     Sun Apr  8 09:27:20 2007
--- ffap.el     Tue May 15 08:27:20 2007
***************
*** 1793,1799 ****
    ;; Extra complication for the temporary highlighting.
    (unwind-protect
        (ffap-read-file-or-url
!        (if ffap-url-regexp "Dired file or URL: " "Dired file: ")
         (prog1
           (setq guess (or guess
                             (let ((guess (ffap-guesser)))
--- 1793,1803 ----
    ;; Extra complication for the temporary highlighting.
    (unwind-protect
        (ffap-read-file-or-url
!        (cond
!       ((eq ffap-directory-finder 'list-directory)
!        "List directory (brief): ")
!       (ffap-url-regexp "Dired file or URL: ")
!       (t "Dired file: "))
         (prog1
           (setq guess (or guess
                             (let ((guess (ffap-guesser)))
_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to