[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
get / using w3m-download
- From: Chihiro Kuroda <chee@xxxxxxxxxxxxxx>
- Date: Wed, 16 Apr 2003 19:08:05 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 04793
こんにちは、黒田です。
w3m-download の対象がディレクトリの場合のパッチです。
--- w3m.el.orig 2003-04-16 18:25:03.000000000 +0900
+++ w3m.el 2003-04-16 18:46:09.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 (format "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)