Created
February 13, 2012 15:20
-
-
Save m2ym/1817553 to your computer and use it in GitHub Desktop.
Workaroud for collision between session.el and anything.el
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
(when (require 'session nil t) | |
(mapatoms | |
(lambda (symbol) | |
(let ((name (symbol-name symbol))) | |
(when (and (string-match "^anything-" name) | |
(string-match session-globals-regexp name)) | |
(pushnew symbol session-globals-exclude)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment