org-compat: Implement `org-define-error'
commit6e6b19bc96cde727e1a9ff6ca112f41ef37df1ab
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 31 Oct 2015 15:10:11 +0000 (31 16:10 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 31 Oct 2015 21:26:13 +0000 (31 22:26 +0100)
treef3f66dc965daf0a9ede555535fb11640c2381b8f
parent59468ab2d85a9e53320c09310051bcf2a6c0ac1a
org-compat: Implement `org-define-error'

* lisp/org-compat.el (org-define-error): New function.
* lisp/ox.el (org-link-broken): Use new function.
lisp/org-compat.el
lisp/ox.el