diff options
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)$\\)") |