[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line number where eval-after-load is defined in my .emacs file
From: |
Stefan Monnier |
Subject: |
Re: Line number where eval-after-load is defined in my .emacs file |
Date: |
Wed, 13 Nov 2013 17:09:47 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> I tried using the more "standard" function (defined in simple.el)
> `line-number-at-pos', but that gives the same problem.
That's because the current-buffer is *scratch* (or some other such
buffer), rather than being a buffer that holds the contents of the
.emacs file.
> I'm sure what I ask (to access/save the line number of where the macro
> is called) is possible, but there's something I clearly miss in the
> macro stuff...
In some situations, there's a way, indeed, but it's tricky/unreliable.
Stefan
Re: Line number where eval-after-load is defined in my .emacs file, Sebastien Vauban, 2013/11/13
- Re: Line number where eval-after-load is defined in my .emacs file,
Stefan Monnier <=
Re: Line number where eval-after-load is defined in my .emacs file, Michael Heerdegen, 2013/11/13
Message not available
Re: Line number where eval-after-load is defined in my .emacs file, jack-mac, 2013/11/22