ox: Small refactoring
commit96cfef229d21daecc914bbd4edc2ea0ee69cf1c3
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 24 May 2016 19:40:43 +0000 (24 21:40 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 24 May 2016 19:40:43 +0000 (24 21:40 +0200)
treea7d92162239bff18a523245c5ae91c83e2a15097
parentaf8e3d84ee18609a83e03af44efc5601700d57fc
ox: Small refactoring

* lisp/ox.el (org-export-get-loc): Refactor code.  Speed-up processing
  when the element doesn't require line numbering.
* testing/lisp/test-ox.el (test-org-gen-loc-list): Reformat code.
lisp/ox.el
testing/lisp/test-ox.el