all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* insert-file-contents doesn't obey load-path?
@ 2008-10-03  4:58 Martin Magnusson
  2008-10-03 14:48 ` Paul R
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Magnusson @ 2008-10-03  4:58 UTC (permalink / raw)
  To: help-gnu-emacs

I'm trying to clean up my .emacs setup, with different files for the
settings that are common among the hosts I work on and the settings
local to each machine. But I've run into trouble with dmacro-load and
file paths.

In my local .emacs, I have:

(setq load-path (append (list "~/.common/emacs/") load-path))
(load "~/.common/emacs/.emacs"))

And in .common/emacs/.emacs, I do:

(load "dmacro")
(dmacro-load "c.dm")

But then emacs complains about not being able to find the file c.dm
(which is in .common/emacs/). dmacro-load uses insert-file-contents to
load macro files. Shouldn't that function make use of the load-path?
If not, how can I make it find my dmacro files?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-03 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03  4:58 insert-file-contents doesn't obey load-path? Martin Magnusson
2008-10-03 14:48 ` Paul R

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.