Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • emacs.stackexchange.com/tags/elisp/info Commented Dec 31, 2022 at 16:52
  • The question is unclear. Please specify what you mean by an (apparently) "local session", as opposed "the global session". Commented Dec 31, 2022 at 16:54
  • 2
    You can create a second Emacs instance and evaluate them there. Commented Dec 31, 2022 at 17:47
  • @Drew thanks for your correction and your question. I think what it boils down to, more specifically, is to be able to unbind all variables and functions that are defined in the eval "session" once I go back to the global "session". What i would actually need is: store all bound symbols, run the "session", store all bound symbol again, unbind those symbols that are in the second list but not in the first Commented Dec 31, 2022 at 20:46
  • I think i could wrap something using a combination of load and unload-feature... Commented Dec 31, 2022 at 21:10