help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: loading emacs macros from file


From: Johan Bockgård
Subject: Re: loading emacs macros from file
Date: Sat, 02 Oct 2004 15:30:58 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (usg-unix-v)

Daniel L Elliott <address@hidden> writes:

> I am trying to load the following file (~/.emacs_files/macros.el)
> which contains two macros in my .emacs file:

There is another file called "macros.el".

> using the following:
> (setq load-path (append load-path (list "~<myUserName>/.emacs_files")))

This puts your directory last in load-path.

> (load "macros")

This finds that other file. Use `M-x locate-library RET macros RET' to
see this.

> However, when running M-x <either macro name>, I get 'no match'. Why
> is this? Am I fundamentally doing something wrong here?

Rename the file to "my-macros.el" or use (load "~/.emacs_files/macros.el").

-- 
Johan Bockgård


reply via email to

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