Permalink
Browse files

make elscreen load idempotent

  • Loading branch information...
1 parent 93bac51 commit 5af15cf5b686d2bef0b58c2f0006b74f079b5c91 @nelhage committed Oct 2, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 dot-emacs
View
@@ -1298,7 +1298,8 @@ surrounding xml expression"
;;elscreen
(require 'elscreen)
-(elscreen-toggle-display-tab)
+(when elscreen-display-tab
+ (elscreen-toggle-display-tab))
(define-key elscreen-map (kbd "SPC") 'elscreen-next)
(define-key elscreen-map (kbd "C-z") 'elscreen-swap)

0 comments on commit 5af15cf

Please sign in to comment.