summaryrefslogtreecommitdiff
path: root/lisp/net/browse-url.el
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-07-31 10:52:26 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-07-31 10:52:26 +0400
commit3b734d1c0083841bcdbdbf1b38bb283a4ba1fbb6 (patch)
treed76c0a3c92be2e4add47854d5a1a6f4a40dbe3cf /lisp/net/browse-url.el
parentf6e8d3c1118c52ab0158e85174bf98e7ca4a2dce (diff)
downloademacs-3b734d1c0083841bcdbdbf1b38bb283a4ba1fbb6.tar.gz
* lisp/emacs-lisp/re-builder.el (reb-color-display-p):
* lisp/files.el (save-buffers-kill-terminal): * lisp/net/browse-url.el (browse-url): * lisp/server.el (server-save-buffers-kill-terminal): * lisp/textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): Prefer nil to selected-frame for the first arg of frame-parameter.
Diffstat (limited to 'lisp/net/browse-url.el')
-rw-r--r--lisp/net/browse-url.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/browse-url.el b/lisp/net/browse-url.el
index feae435c779..70173dbc0b3 100644
--- a/lisp/net/browse-url.el
+++ b/lisp/net/browse-url.el
@@ -816,8 +816,8 @@ first, if that exists."
;; When connected to various displays, be careful to use the display of
;; the currently selected frame, rather than the original start display,
;; which may not even exist any more.
- (if (stringp (frame-parameter (selected-frame) 'display))
- (setenv "DISPLAY" (frame-parameter (selected-frame) 'display)))
+ (if (stringp (frame-parameter nil 'display))
+ (setenv "DISPLAY" (frame-parameter nil 'display)))
(if (and (consp function)
(not (functionp function)))
;; The `function' can be an alist; look down it for first match