org-clean-before-export matches non-special columns spuriously
commit79873390edd26a44cefc2050c7af470a7ed8fd07
authorNick Dokos <ndokos@gmail.com>
Fri, 18 Jul 2014 13:09:38 +0000 (18 09:09 -0400)
committerNick Dokos <ndokos@gmail.com>
Sat, 19 Jul 2014 03:44:46 +0000 (18 23:44 -0400)
treed7f16908f7e37297f2231e92e16e07e4dc838210
parenta5beff869fa198450ac68b8d3cad1e79089ff75c
org-clean-before-export matches non-special columns spuriously

* org-table.el (org-table-clean-before-export): The regexes match
  spaces in addition to the special characters that might be used in
  the first column as special marking characters.  Remove the space
  from the character class.

  In addition, the `special' variable included a backslash which
  afaict does nothing: delete it.

  The function itself takes an optional parameter which is not used by
  any of the callers: get rid of it.  Getting rid of it allows a small
  simplification of the code.

The bug was found by Thorsten Grothe:

    http://thread.gmane.org/gmane.emacs.orgmode/88634
lisp/org-table.el