Jan Synacek writes: > It takes almost 2 seconds before the shell buffer appears and Emacs is > frozen in the mean time. Without the init file, the shell buffer appears > instantly. Can you try this patch?