Created
April 16, 2014 19:41
-
-
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
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
(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))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also speeds up tmux!