all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: eval, load and -l
Date: Tue, 5 Jul 2016 10:00:19 -0400	[thread overview]
Message-ID: <577BBD73.4050608@gmail.com> (raw)
In-Reply-To: <871t381fca.fsf@gmx.net>


[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]

On 2016-07-05 07:42, Stephen Berman wrote:
> 1. emacs -Q
>    C-x C-f foo.el RET
>    M-x eval-buffer RET
> 
> 2. emacs -Q
>    M-x load-file RET foo.el RET

If foo.el uses load-file-name in any way (for example to find the path to the current file and load other resources), then these two procedures won't do the same thing.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2016-07-05 14:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-05 11:42 eval, load and -l Stephen Berman
2016-07-05 14:00 ` Clément Pit--Claudel [this message]
2016-07-05 14:52 ` Eli Zaretskii
2016-07-05 15:37   ` Stephen Berman
2016-07-05 16:40     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=577BBD73.4050608@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.