* add recursively to load-path
@ 2003-04-25 14:24 pclouds
0 siblings, 0 replies; 2+ messages in thread
From: pclouds @ 2003-04-25 14:24 UTC (permalink / raw)
Hi,
Can i add a directory and all the subdirectories of that one to
load-path? Something like that:
,----
| (add-recursive-path 'load-path "~/emacs")
`----
then ~/emacs ~/emacs/semantic ~/emacs/mmm-mode ... will be added to
load-path.
Thanks
--
Bi Cờ Lao
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: add recursively to load-path
[not found] <mailman.5193.1051281179.21513.help-gnu-emacs@gnu.org>
@ 2003-04-25 14:49 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2003-04-25 14:49 UTC (permalink / raw)
pclouds wrote:
> Can i add a directory and all the subdirectories of that one to
> load-path?
(let* ((dir (expand-file-name "~/emacs"))
(default-directory dir))
(when (file-directory-p dir)
(add-to-list 'load-path dir)
(if (fboundp 'normal-top-level-add-subdirs-to-load-path)
(normal-top-level-add-subdirs-to-load-path))))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-25 14:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.5193.1051281179.21513.help-gnu-emacs@gnu.org>
2003-04-25 14:49 ` add recursively to load-path Glenn Morris
2003-04-25 14:24 pclouds
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.