diff options
author | Tom Willemse | 2013-08-25 12:23:17 +0200 |
---|---|---|
committer | Tom Willemse | 2013-08-25 12:23:17 +0200 |
commit | 2395f2aee8fbb07da80ee022c9a4cc06ab665374 (patch) | |
tree | 37d505171fcf8c1aa5fa5e43a2690bc824690e04 /.emacs.d/init.el | |
parent | dac8fe02b8c140c145c6f7fbc259750e245d3892 (diff) | |
download | emacs-2395f2aee8fbb07da80ee022c9a4cc06ab665374.tar.gz emacs-2395f2aee8fbb07da80ee022c9a4cc06ab665374.zip |
Don't destroy ERC buffers when switching desktops
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9817eba..8d94ecd 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -304,15 +304,17 @@ Also change directories to current working directory." (setq desktop-restore-frames nil) (setq desktop-load-locked-desktop t) (setq desktop-clear-preserve-buffers - (append (list (rx (and bol (or (and "+" (1+ anything)) + (append (list (rx (and bol (or (and "+" (1+ nonl)) "dailies" "work" "tasks" (or "bookmarks.org" "contacts.org")) eol)) (rx (or "*ielm*" "*-jabber-roster-*" "*eshell*" "*ansi-term*" "*slime-repl sbcl*" "*slime-events*")) - (rx (and "*" (or "magit" "scratch-") (1+ anything) - "*"))) + (rx (and "*" (or "magit" "scratch-") (1+ nonl) + "*")) + (rx (or "irc.freenode.net:6667" + (and "#" (1+ nonl))))) desktop-clear-preserve-buffers)) (setq desktop-files-not-to-save (rx (or (regexp "\\(^/[^/:]*:\\|(ftp)$\\)") |