[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18007: 24.3.92: eww-download-callback, better patch included
From: |
Kentaro NAKAZAWA |
Subject: |
bug#18007: 24.3.92: eww-download-callback, better patch included |
Date: |
Thu, 06 Nov 2014 01:55:03 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
The following patch use the url library.
*** eww.el.orig 2014-06-27 11:14:40.000000000 +0900
--- eww.el 2014-11-06 01:12:35.620431852 +0900
***************
*** 1075,1081 ****
(path (car (url-path-and-query obj)))
(file (eww-make-unique-file-name (file-name-nondirectory path)
eww-download-directory)))
! (write-file file)
(message "Saved %s" file))))
(defun eww-make-unique-file-name (file directory)
--- 1075,1081 ----
(path (car (url-path-and-query obj)))
(file (eww-make-unique-file-name (file-name-nondirectory path)
eww-download-directory)))
! (write-region (1+ (marker-position url-http-end-of-headers))
(point-max) file)
(message "Saved %s" file))))
(defun eww-make-unique-file-name (file directory)
--
Kentaro NAKAZAWA
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#18007: 24.3.92: eww-download-callback, better patch included,
Kentaro NAKAZAWA <=