[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Prefixing a function call with C-digit
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] Prefixing a function call with C-digit |
Date: |
Wed, 9 Sep 2009 14:39:05 +0200 |
On Sep 8, 2009, at 8:14 PM, Raffi R wrote:
Dear org users,
I'd like to write some advice or a wrapper function for org-export
such that it defaults to a heading level of 0.
Why don't you just set the variable org-export-headline-levels ?
In org-mode normally, I can get this behaviour by pressing C-0 C-x
C-e. Looking at org.el suggested that I should be able to simply
provide the 0 as an argument, i.e. using (org-export 0). However,
org-export seems to ignore that 0.
(let ((current-prefix-arg 0))
(call-interactively 'org-export))
HTH
- Carsten
Thank you very much,
- Raffi.
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode