mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
Unbreak starting an X11 frame from a non-X11 Emacs daemon
This commit is contained in:
parent
f0a8017501
commit
1a6e7e3807
@ -1,3 +1,9 @@
|
|||||||
|
2012-10-20 Daniel Colascione <dancol@dancol.org>
|
||||||
|
|
||||||
|
* frame.el (make-frame): Set x-display-name as we used to in order
|
||||||
|
to unbreak creating an X11 frame from an Emacs daemon started
|
||||||
|
without a display.
|
||||||
|
|
||||||
2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
|
2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||||
|
|
||||||
* minibuffer.el (minibuffer-force-complete): Make the next completion use
|
* minibuffer.el (minibuffer-force-complete): Make the next completion use
|
||||||
|
@ -655,6 +655,8 @@ the new frame according to its own rules."
|
|||||||
(error "Don't know how to create a frame on window system %s" w))
|
(error "Don't know how to create a frame on window system %s" w))
|
||||||
|
|
||||||
(unless (get w 'window-system-initialized)
|
(unless (get w 'window-system-initialized)
|
||||||
|
(unless x-display-name
|
||||||
|
(setq x-display-name display))
|
||||||
(funcall (cdr (assq w window-system-initialization-alist)))
|
(funcall (cdr (assq w window-system-initialization-alist)))
|
||||||
(put w 'window-system-initialized t))
|
(put w 'window-system-initialized t))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user