Skip to content

Instantly share code, notes, and snippets.

@m2ym
Created February 13, 2012 15:20
Show Gist options
  • Save m2ym/1817553 to your computer and use it in GitHub Desktop.
Save m2ym/1817553 to your computer and use it in GitHub Desktop.
Workaroud for collision between session.el and anything.el
(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