[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: making emacsclient create/destroy a frame
From: |
Roland Roberts |
Subject: |
Re: making emacsclient create/destroy a frame |
Date: |
14 Oct 2003 16:02:02 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
-----BEGIN PGP SIGNED MESSAGE-----
Thanks to all who replied; the following combination does the trick:
(defun rbr:server-visit-hook ()
(setq server-window (make-frame)))
(defun rbr:server-done-hook ()
(cond ((and (boundp 'server-window)
(framep server-window))
(delete-frame server-window)
(setq server-window nil))))
(setq server-done-hook 'rbr:server-done-hook)
(setq server-visit-hook 'rbr:server-visit-hook)
roland
- --
PGP Key ID: 66 BC 3B CD
Roland B. Roberts, PhD RL Enterprises
roland@rlenter.com 6818 Madeline Court
roland@astrofoto.org Brooklyn, NY 11220
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Processed by Mailcrypt 3.5.4, an Emacs/PGP interface
iQCVAwUBP4xWOuoW38lmvDvNAQFynQP+PVav/cHHeoXXY5Hcf4DpzhQG7RPMw+ii
0rjG2d3PihoXPxClmmZpkyRr75ePGUMfCSPssecnup/J8dDeSgqwbMzRZbjGHiAU
IoY96Qs3fiAFtsJw3RmN4HxHzpo20MEFLAFc4a1h4g4X71hUlUgWoY/KLP/6FL9/
D9NkE8AVT84=
=RXtc
-----END PGP SIGNATURE-----