Jeff Horn wrote:
On Fri, Dec 10, 2010 at 2:09 AM, Thomas S. Dye <t...@tsdye.com> wrote:
4) A super-function in the Library of Babel would set the buffer-local
instance of every relevant Org-mode variable to its default state:
#+source: lob-set-local-defaults
#+begin_src emacs-lisp
...
#+end_src
Would this function save the current state of each variable it changes
for restoration after the user exits the buffer?
Perhaps I'm mis-understanding, but Thomas' suggestion is to set the
variables *buffer-local*, not global, so once the buffer is killed,
so are the buffer-local versions of the variables.
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode