changeset 66438:71a815b63b2b

(browse-url-of-buffer): Add ".html" to filename.
author Reiner Steib <Reiner.Steib@gmx.de>
date Tue, 25 Oct 2005 13:18:52 +0000
parents 5a1898d736d0
children 52c79134b5d5
files lisp/ChangeLog lisp/net/browse-url.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Oct 25 12:02:47 2005 +0000
+++ b/lisp/ChangeLog	Tue Oct 25 13:18:52 2005 +0000
@@ -1,3 +1,8 @@
+2005-10-25  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* net/browse-url.el (browse-url-of-buffer): Add ".html" to
+	filename.
+
 2005-10-25  Masatake YAMATO  <jet@gyve.org>
 
 	* dired-x.el (dired-virtual): Don't use `dired-insert-headerline'.
--- a/lisp/net/browse-url.el	Tue Oct 25 12:02:47 2005 +0000
+++ b/lisp/net/browse-url.el	Tue Oct 25 13:18:52 2005 +0000
@@ -713,7 +713,8 @@
 		(setq browse-url-temp-file-name
 		      (convert-standard-filename
 		       (make-temp-file
-			(expand-file-name "burl" browse-url-temp-dir)))))
+			(expand-file-name "burl" browse-url-temp-dir)
+			nil ".html"))))
 	    (setq file-name browse-url-temp-file-name)
 	    (write-region (point-min) (point-max) file-name nil 'no-message)))
       (browse-url-of-file file-name))))