Convert compatibility defun to a macro.
commitb3f60f791e74b880699168aec801900b60342b32
authorBastien Guerry <bzg@altern.org>
Sat, 28 Apr 2012 20:42:31 +0000 (28 22:42 +0200)
committerBastien Guerry <bzg@altern.org>
Tue, 1 May 2012 08:40:15 +0000 (1 10:40 +0200)
treebb124bf1012a92cac327c849a6bed5bfcb8f7b65
parenta96563029346319dc6edcebfa229f2f51054a65c
Convert compatibility defun to a macro.

* lisp/org-compat.el (org-find-library-name): Convert into a macro to
  avoid compilation of a function from XEmacs in Emacs and vice versa.

Based on a not fully working proposal by A. Gratz to the orgmode
mailing list:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00009.html
lisp/org-compat.el