Refactor unescaping functions
commit7b58cccdddfd55daa70aaf5c775aa1f1482ab32e
authorDavid Maus <dmaus@ictsoc.de>
Sat, 27 Nov 2010 19:02:23 +0000 (27 20:02 +0100)
committerDavid Maus <dmaus@ictsoc.de>
Thu, 17 Feb 2011 18:26:49 +0000 (17 19:26 +0100)
tree16cc2d53a7ceb536cfb927b458717cb064395e42
parentdc76fd5d7127645e2699b1b194cf3ad26f73d4f0
Refactor unescaping functions

* org.el (org-link-unescape): Simpler algorithm for replacing percent
escapes.
(org-link-unescape-compound): Use cond statements instead of nested
if, convert hex string with string-to-number, save match data.
(org-link-unescape-single-byte-sequence): Use mapconcat and
string-to-number for unescaping single byte sequence.
lisp/org.el