From: Glenn Morris Date: Tue, 6 May 2014 03:55:54 +0000 (-0700) Subject: browse-url.el comment X-Git-Tag: emacs-24.3.91~40 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03810324a41b365104fd940ac4d8f702a914410e;p=emacs.git browse-url.el comment --- diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el index 893bfa487e3..4364490f431 100644 --- a/lisp/net/browse-url.el +++ b/lisp/net/browse-url.el @@ -1340,6 +1340,9 @@ used instead of `browse-url-new-window-flag'." (kill-buffer nil))) (if (and pid (zerop (signal-process pid 0))) ; Mosaic running (save-excursion + ;; This is a predictable temp-file name, which is bad, + ;; but it is what Mosaic uses/used. + ;; So it's not Emacs's problem. http://bugs.debian.org/747100 (find-file (format "/tmp/Mosaic.%d" pid)) (erase-buffer) (insert (if (browse-url-maybe-new-window new-window)