emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] BUG docu org-babel-default-header-args


From: Andreas Röhler
Subject: Re: [O] BUG docu org-babel-default-header-args
Date: Fri, 05 Apr 2013 19:56:54 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Am 05.04.2013 19:14, schrieb Bastien:
Hi Andreas,

Andreas Röhler <address@hidden> writes:

http://orgmode.org/manual/System_002dwide-header-arguments.html#System_002dwide-header-arguments
Org Mode Info
System-wide header arguments
............................

System-wide values of header arguments can be specified by customizing
the `org-babel-default-header-args' variable:

;;;;;

Seems not the case as in ob-core.el

(defvar org-babel-default-header-args

;;;;;

Not sure what you mean -- do you mean that saying "customizing" in the
manual is not appropriate because `org-babel-default-header-args' is a
variable (defvar) and not an option (defcustom)?

Thanks for further clarification!


Hi Bastien,

customization needs a defcustom, not a defvar

(defvar org-babel-default-header-args
  '((:session . "none") (:results . "replace") (:exports . "code")
    (:cache . "no") (:noweb . "no") (:hlines . "no") (:tangle . "no")
    (:padnewline . "yes"))
  "Default arguments to use when evaluating a source block.")

This var user can't customize, as Info tells falsely.

Cheers,

Andreas




reply via email to

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