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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to