[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: get / using w3m-download



訂正します。format が余計でした。

--- w3m.el.orig	2003-04-16 18:25:03.000000000 +0900
+++ w3m.el	2003-04-16 19:11:29.000000000 +0900
@@ -3782,7 +3782,10 @@
 			      w3m-home-page))
 	  (basename (file-name-nondirectory (w3m-url-strip-query url))))
      (if (string-match "^[\t ]*$" basename)
-	 (error "You should specify the existing file name")
+       (list url
+	     (w3m-read-file-name "Download / to: "
+				 w3m-default-save-directory "index.html")
+	     current-prefix-arg)
        (list url
 	     (w3m-read-file-name (format "Download %s to: " basename)
 				 w3m-default-save-directory basename)