bug-gnu-emacs
[Top][All Lists]
Advanced

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

`browse-url-of-buffer' fails to remove temporary files


From: schmidt
Subject: `browse-url-of-buffer' fails to remove temporary files
Date: 24 Jul 2001 14:49:55 +0100

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.1 (i386-*-nt4.0.1381)
 of Tue Jun 13 2000 on buffy
configured using `configure NT'

The temporary files listed in `browse-url-temp-file-list' are
removed in function `browse-url-delete-temp-file-list' which in
turn is called from `kill-emacs-hook'.  However, in browse-url.el
at no point new elements are added to the list.  As a result,
some of the temporary files generated by browse-url are not
removed.


Replacing the sexp

            (or browse-url-temp-file-name
                (setq browse-url-temp-file-name
                      (convert-standard-filename
                       (concat
                        (make-temp-name
                         (expand-file-name "burl" browse-url-temp-dir))
                        ".html"))))

by

            (or browse-url-temp-file-name
                (setq browse-url-temp-file-name
                      (convert-standard-filename
                       (concat
                        (make-temp-name
                         (expand-file-name "burl" browse-url-temp-dir))
                        ".html"))
                      browse-url-temp-file-list
                      (cons browse-url-temp-file-name 
browse-url-temp-file-list)))

in `browse-url-of-buffer' should be the right thing, I guess.

Regards

Jens




reply via email to

[Prev in Thread] Current Thread [Next in Thread]