Browse Source

removing #+BABEL: lines in favor of general #+PROPERTIES: lines

* lisp/ob.el (org-babel-params-from-buffer): Removing #+BABEL: lines
  in favor of general #+PROPERTIES: lines.

* doc/org.texi (Buffer-wide header arguments): Removing documentation
  of the defunct #+BABEL: structure.
Eric Schulte 13 years ago
parent
commit
04a978fde5
2 changed files with 5 additions and 4 deletions
  1. 4 3
      doc/org.texi
  2. 1 1
      lisp/ob.el

+ 4 - 3
doc/org.texi

@@ -12040,9 +12040,10 @@ language-specific documentation available online at
 
 @node Buffer-wide header arguments, Header arguments in Org-mode properties, Language-specific header arguments, Using header arguments
 @subsubheading Buffer-wide header arguments
-Buffer-wide header arguments may be specified through the use of a special
+Buffer-wide header arguments may be specified through the use of a
+@code{#+PROPERTIES:}
 line placed anywhere in an Org-mode file.  The line consists of the
-@code{#+BABEL:} keyword followed by a series of header arguments which may be
+@code{#+PROPERTIES:} keyword followed by a series of header arguments which may be
 specified using the standard header argument syntax.
 
 For example the following would set @code{session} to @code{*R*}, and
@@ -12051,7 +12052,7 @@ that all execution took place in the same session, and no results would be
 inserted into the buffer.
 
 @example
-#+BABEL: :session *R* :results silent
+#+PROPERTIES: :session *R* :results silent
 @end example
 
 @node Header arguments in Org-mode properties, Code block specific header arguments, Buffer-wide header arguments, Using header arguments

+ 1 - 1
lisp/ob.el

@@ -1072,7 +1072,7 @@ may be specified in the current buffer."
 	  (widen)
 	  (goto-char (point-min))
 	  (while (re-search-forward
-		  (org-make-options-regexp (list "BABEL" "PROPERTIES")) nil t)
+		  (org-make-options-regexp '("PROPERTIES")) nil t)
 	    (setq local-properties
 		  (org-babel-merge-params
 		   local-properties