emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Using babel to generate a commit log


From: Eric Schulte
Subject: Re: [O] Using babel to generate a commit log
Date: Wed, 30 Mar 2011 14:12:57 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Luke Crook <address@hidden> writes:

> I have written the following code that uses the Emacs vc-* commands to 
> generate 
> a commit log. I would like the output of this code to be included when my 
> file 
> is exported.
>

Is there a reason this processing takes place using Emacs Lisp rather
than a simple shell code block, the following alternative should be
simpler and more robust.

#+begin_src sh :exports results :results output
  git log -1
#+end_src

Best -- Eric



reply via email to

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