[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loading emacs macros from file
From: |
Daniel L Elliott |
Subject: |
Re: loading emacs macros from file |
Date: |
Sat, 02 Oct 2004 10:20:23 -0500 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
On Sat, 02 Oct 2004 15:30:58 +0200, Johan Bockgård wrote:
> Daniel L Elliott <dan_elliott_at_cox_dot_net@spam_is_pathetic.com> 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").
This fixed it. Thank you to all who replied! Oddly, this worked on our AIX
system...
- dan elliott