all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rustom <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: subdirs works for emacs but fails for me -- why?
Date: Thu, 15 Oct 2009 10:54:34 -0700 (PDT)	[thread overview]
Message-ID: <1aaaca55-b0be-4519-841c-156baf9a6705@13g2000prl.googlegroups.com> (raw)

Can someone explain the subdirs.el mechanism?

A subdirs.el in the load-path typically has the magic mantra

(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
    (normal-top-level-add-subdirs-to-load-path))

When emacs finds such a file it adds the subdirs to the load-path
If I put a similar file in my load-path it does not do any good.

Also why the fboundp stuff? And not just a simple call

(normal-top-level-add-subdirs-to-load-path)


             reply	other threads:[~2009-10-15 17:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 17:54 rustom [this message]
2009-10-20 23:45 ` subdirs works for emacs but fails for me -- why? Glenn Morris
2009-10-21  4:13   ` Kevin Rodgers

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

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

  git send-email \
    --in-reply-to=1aaaca55-b0be-4519-841c-156baf9a6705@13g2000prl.googlegroups.com \
    --to=rustompmody@gmail.com \
    --cc=help-gnu-emacs@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.