org-entities: Tiny refactoring
commitc69fd5bf61e84804679d04062c85bd6a177bcb72
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 21 Jun 2016 14:52:05 +0000 (21 16:52 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 21 Jun 2016 14:53:27 +0000 (21 16:53 +0200)
treefb1e622356c18895af5d6ca708273767fdf1e22f
parent27c5cf153f9b58f0905cbc8600d0f563a4a521d3
org-entities: Tiny refactoring

* lisp/org-entities.el (org-entities--user-safe-p): Use pattern matching
  and strengthen check for name.
lisp/org-entities.el