ob-shell: stratify shell variable quoting
commit2685f31a506e368aef86edbb71a5ae15438610ef
authorAchim Gratz <Stromeko@Stromeko.DE>
Thu, 19 Jun 2014 19:23:28 +0000 (19 21:23 +0200)
committerAchim Gratz <Stromeko@Stromeko.DE>
Mon, 23 Jun 2014 18:53:16 +0000 (23 20:53 +0200)
tree5254e830e464ed94b1ab57fa6ff249a4f2aa4ba0
parent4a4dbe16d82b4c8d441e79358003577c1ffdb440
ob-shell: stratify shell variable quoting

* lisp/ob-shell.el: Remove unused defcustom
  `org-babel-sh-var-quote-fmt'.
  (org-babel-variable-assignments:bash_array):
  (org-babel-variable-assignments:bash_assoc): Remove superfluous
  `mapcar' and double quotes around parameters.
  (org-babel-sh-var-to-sh): Single-quote the whole string and escape
  all single quotes in the original string.
lisp/ob-shell.el