Skip to content

Instantly share code, notes, and snippets.

@knu
Created April 16, 2014 19:41
Show Gist options
  • Save knu/10924929 to your computer and use it in GitHub Desktop.
Save knu/10924929 to your computer and use it in GitHub Desktop.
Avoid 2 second delay in emacsclient startup with Emacs 24.3.50+ and GNU screen
(eval-after-load "xterm" ;; term/xterm.el does not provide 'xterm
'(defadvice xterm--query (around tweak-for-gnu-screen (query handlers) activate)
;; GNU screen does not support this sequence
(unless (string= query "\e]11;?\e\\")
ad-do-it)))
@Mic92
Copy link

Mic92 commented Dec 17, 2019

Also speeds up tmux!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment