Deprecate `org-babel-trim' in favor of `org-trim'
commit4f63cfabb38d92e83f1c3e2f8aa2f33bafbdd1d8
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 21 Jun 2016 13:24:06 +0000 (21 15:24 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 21 Jun 2016 13:33:00 +0000 (21 15:33 +0200)
treef00baf2461d73f4e04123d717ea0ccc2350290d2
parent1c30dea0ec853bc5848c257bfe48cc122db7a537
Deprecate `org-babel-trim' in favor of `org-trim'

* lisp/org.el (org-trim): Add optional argument.

* contrib/lisp/ob-mathematica.el (org-babel-execute:mathematica):
* contrib/lisp/org-bibtex-extras.el (obe-html-export-citations):
* contrib/lisp/org-mime.el (org-mime-compose):
* lisp/ob-C.el (org-babel-C-execute):
* lisp/ob-calc.el (org-babel-execute:calc):
* lisp/ob-clojure.el (org-babel-expand-body:clojure):
* lisp/ob-core.el (org-babel-initiate-session):
(org-babel-parse-multiple-vars):
(org-babel-read-element):
(org-babel-insert-result):
(org-babel-expand-noweb-references):
(org-babel-trim): Mark obsolete.
* lisp/ob-forth.el (org-babel-forth-session-execute):
* lisp/ob-fortran.el (org-babel-execute:fortran):
* lisp/ob-haskell.el (org-babel-execute:haskell):
* lisp/ob-latex.el (org-babel-expand-body:latex):
* lisp/ob-lisp.el (org-babel-expand-body:lisp):
* lisp/ob-ocaml.el (org-babel-execute:ocaml):
* lisp/ob-octave.el (org-babel-octave-evaluate-session):
* lisp/ob-python.el (org-babel-python-evaluate-external-process):
(org-babel-python-evaluate-session):
* lisp/ob-ref.el (org-babel-ref-split-args):
* lisp/ob-ruby.el (org-babel-ruby-evaluate):
* lisp/ob-shell.el (org-babel-sh-evaluate):
* lisp/ob-table.el (org-sbe):
* lisp/ob-tangle.el (org-babel-spec-to-string):
* lisp/org-bibtex.el (org-bibtex-get):
* testing/lisp/test-ob.el (test-ob/parse-header-args): Use `org-trim'
  instead of `org-babel-trim'.
28 files changed:
contrib/lisp/ob-mathematica.el
contrib/lisp/org-bibtex-extras.el
contrib/lisp/org-mime.el
etc/ORG-NEWS
lisp/ob-C.el
lisp/ob-J.el
lisp/ob-calc.el
lisp/ob-clojure.el
lisp/ob-core.el
lisp/ob-forth.el
lisp/ob-fortran.el
lisp/ob-haskell.el
lisp/ob-latex.el
lisp/ob-lisp.el
lisp/ob-ocaml.el
lisp/ob-octave.el
lisp/ob-python.el
lisp/ob-ref.el
lisp/ob-ruby.el
lisp/ob-shell.el
lisp/ob-table.el
lisp/ob-tangle.el
lisp/org-bibtex.el
lisp/org-footnote.el
lisp/org-list.el
lisp/org-src.el
lisp/org.el
testing/lisp/test-ob.el