aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDaniel Colascione2012-10-19 19:42:02 -0800
committerDaniel Colascione2012-10-19 19:42:02 -0800
commit1a6e7e3807367b94c144d06fc2bdd1eb195731f7 (patch)
tree91a1db9d0fc9e6726433419b4ad6c1365b2dc9c5 /lisp
parentf0a801750151bee7fdcf96dff272986e627fb3e3 (diff)
downloademacs-1a6e7e3807367b94c144d06fc2bdd1eb195731f7.tar.gz
emacs-1a6e7e3807367b94c144d06fc2bdd1eb195731f7.zip
Unbreak starting an X11 frame from a non-X11 Emacs daemon
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/frame.el2
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 096e9a52916..690aaa70eac 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12012-10-20 Daniel Colascione <dancol@dancol.org>
2
3 * frame.el (make-frame): Set x-display-name as we used to in order
4 to unbreak creating an X11 frame from an Emacs daemon started
5 without a display.
6
12012-10-19 Stefan Monnier <monnier@iro.umontreal.ca> 72012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * minibuffer.el (minibuffer-force-complete): Make the next completion use 9 * minibuffer.el (minibuffer-force-complete): Make the next completion use
diff --git a/lisp/frame.el b/lisp/frame.el
index b7b61bcc576..7a54efc23e7 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -655,6 +655,8 @@ the new frame according to its own rules."
655 (error "Don't know how to create a frame on window system %s" w)) 655 (error "Don't know how to create a frame on window system %s" w))
656 656
657 (unless (get w 'window-system-initialized) 657 (unless (get w 'window-system-initialized)
658 (unless x-display-name
659 (setq x-display-name display))
658 (funcall (cdr (assq w window-system-initialization-alist))) 660 (funcall (cdr (assq w window-system-initialization-alist)))
659 (put w 'window-system-initialized t)) 661 (put w 'window-system-initialized t))
660 662