emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: non-interactive org-export-region-as... modifies kill-ring


From: Bastien
Subject: Re: [O] Bug: non-interactive org-export-region-as... modifies kill-ring [7.9.2 (release_7.9.2-103-g488eea)]
Date: Thu, 13 Dec 2012 00:40:22 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Christopher,

Christopher Schmidt <address@hidden> writes:

> Title says it all.  For example evaling (org-export-region-as-latex
> (point-min) (point-max) nil (get-buffer-create "res")) via M-: in an
> org-mode buffer will put the export content in the kill ring.  That's
> not nice.  I think only the interactive call should do that.

There is org-export-copy-to-kill-ring.

I added a new choice 'if-interactive which is now the default:
exported text will only be pushed to the kill ring when export
is done interactively.  You can always set it to nil if you 
want.

Best,

-- 
 Bastien



reply via email to

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