summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorReiner Steib <Reiner.Steib@gmx.de>2005-10-25 13:18:52 +0000
committerReiner Steib <Reiner.Steib@gmx.de>2005-10-25 13:18:52 +0000
commit2e167dc4e36e9045be1c92be959e3a94f2c0978d (patch)
treef13e807712734e2835e664231801a67fb047a9ad /lisp/net
parentfc50a3be61dca43ffe9a855b4679a42d91c33ead (diff)
downloademacs-2e167dc4e36e9045be1c92be959e3a94f2c0978d.tar.gz
(browse-url-of-buffer): Add ".html" to filename.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/browse-url.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index 74bace58958..54fddf9261c 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -713,7 +713,8 @@ narrowed."
(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))))