emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] find-library-name, used by org-reload, missing on XEmacs


From: Carsten Dominik
Subject: Re: [Orgmode] find-library-name, used by org-reload, missing on XEmacs
Date: Sun, 5 Apr 2009 16:18:39 +0200

Hi Tony,

thanks for this, org-reload now works on XEmacs.

- Carsten

On Mar 31, 2009, at 8:38 PM, Tony E. Bennett wrote:


Hi

org-reload needs 'find-library-name', which is missing on XEmacs v21.5
at least.   However there is 'find-library' which can be coerced into
providing the filename:

;; hack - XEmacs does not have find-library-name, needed by org- reload.
 (when (not (fboundp 'find-library-name))
   (require 'find-func)
;; still not found? then create it if find-library exists, as it does on xemacs
   (when (and (not (fboundp 'find-library-name))
              (fboundp 'find-library))
     (defun find-library-name-helper (filename ignored-codesys)
       filename)
     (defun find-library-name (library)
       (find-library library nil 'find-library-name-helper))
     ))


thanks

--tony



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]