Skip to content

Instantly share code, notes, and snippets.

@prideout
Created February 21, 2013 18:54
Show Gist options
  • Save prideout/5007107 to your computer and use it in GitHub Desktop.
Save prideout/5007107 to your computer and use it in GitHub Desktop.
Steal the emacs server from another session and relabel its frame
(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