Created
February 21, 2013 18:54
-
-
Save prideout/5007107 to your computer and use it in GitHub Desktop.
Steal the emacs server from another session and relabel its frame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun steal-server() | |
(interactive) | |
(shell-command "emacsclient -e '(set-frame-name \"STOLEN\")'") | |
(server-force-delete) | |
(server-start) | |
(set-frame-name "SERVER") | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment