From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: How does org-babel-post-tangle-hook work? Date: Sat, 12 Jul 2014 16:03:54 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X64Sa-000083-QG for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 17:03:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X64SZ-0003JK-N4 for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 17:03:56 -0400 Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]:51394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X64SZ-0003J7-Hn for emacs-orgmode@gnu.org; Sat, 12 Jul 2014 17:03:55 -0400 Received: by mail-oa0-f52.google.com with SMTP id o6so764677oag.11 for ; Sat, 12 Jul 2014 14:03:54 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" Hi, In this document http://orgmode.org/manual/Extracting-source-code.html#Extracting-source-cod= e the hook 'org-babel-post-tangle-hook is explained as ,---- | This hook is run from within code files tangled by org-babel-tangle. Example applications could include post-processing, compilation or evaluation of tangled code files. `---- I know what a hook is and how to use them and where they run. My trouble is that I don't understand what this documentation is saying. Is it saying that if this hook exists in a file that was tangled by org that it will be executed? If so does it only work for elisp files or any kind of file? Kind regards, Grant Rettke | ACM, ASA, FSF, IEEE, SIAM gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson