[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] how to compare org-mode version to current file needs
From: |
Olaf.Hamann |
Subject: |
Re: [O] how to compare org-mode version to current file needs |
Date: |
Thu, 17 Mar 2011 11:08:48 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
Am 17.03.2011 10:12, schrieb Bastien:
[...]
I don't see the real need for something complicated. Just say that the
.org file needs current head until it's not true anymore. If you don't
want to have to update this message, say
(insert "This file needs " (org-version))
[..]
Pragmatical, easy to implement solution, Bastien, thank you very much.
What I was thinking about meanwhile is:
* write an emacs-lisp function to check whether the needed
variable/function is available
** if not, throw an error
* attach that function to org-babel-pretangle-hook
So now I can choose between two solutions to this problem,
thanks to the list for answering my question.
Regards,
Olaf