emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [RFC] Self-configuring Org-mode files


From: Erik Iverson
Subject: Re: [Orgmode] [RFC] Self-configuring Org-mode files
Date: Fri, 10 Dec 2010 10:13:07 -0600
User-agent: Thunderbird 2.0.0.23 (X11/20090812)



Jeff Horn wrote:
On Fri, Dec 10, 2010 at 2:09 AM, Thomas S. Dye <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]