emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tony E. Bennett <tony.e.bennett@gmail.com>
To: emacs-orgmode@gnu.org
Subject: find-library-name, used by org-reload, missing on XEmacs
Date: Tue, 31 Mar 2009 14:38:47 -0400	[thread overview]
Message-ID: <m2vdppzgeg.fsf@gmail.com> (raw)


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

             reply	other threads:[~2009-03-31 18:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-31 18:38 Tony E. Bennett [this message]
2009-04-05 14:18 ` find-library-name, used by org-reload, missing on XEmacs Carsten Dominik
2012-05-30  6:34   ` unfound defuns and catch forms on XEmacs 21.5 (was: [Orgmode] find-library-name, used by org-reload, missing on XEmacs) Tim Howe
2012-05-30 16:09     ` unfound defuns and catch forms on XEmacs 21.5 Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vdppzgeg.fsf@gmail.com \
    --to=tony.e.bennett@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).