unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* user-init-file source vs. compiled
@ 2007-02-01 15:10 Juanma Barranquero
  2007-02-01 15:46 ` Lennart Borgman (gmail)
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Juanma Barranquero @ 2007-02-01 15:10 UTC (permalink / raw)
  To: Emacs Devel

>From the docstring of `user-init-file':

  File name, including directory, of user's initialization file.
  If the file loaded had extension `.elc', and the corresponding source file
  exists, this variable contains the name of source file, suitable for use
  by functions like `custom-save-all' which edit the init file.

Which is true, *once* the user init file is loaded. While it loads,
`user-init-file' contains the real name of the file loaded:

------ .emacs ------
(message "user-init-file: %S" user-init-file)
--------------------

After compiling .emacs and starting Emacs, *messages* contains:

(C:\emacs\HEAD\bin\emacs.exe)
Loading encoded-kb...done
user-init-file: "c:/home/.emacs.elc"

I've been struggling to find a clear wording to explain it. Suggestions welcome.

                    /L/e/k/t/u

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

end of thread, other threads:[~2007-02-02 17:21 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-01 15:10 user-init-file source vs. compiled Juanma Barranquero
2007-02-01 15:46 ` Lennart Borgman (gmail)
2007-02-01 16:07   ` Juanma Barranquero
2007-02-01 16:21     ` Lennart Borgman (gmail)
2007-02-01 17:04       ` Juanma Barranquero
2007-02-01 17:20         ` Lennart Borgman (gmail)
2007-02-01 18:18           ` Juanma Barranquero
2007-02-01 19:17 ` Stefan Monnier
2007-02-01 20:02   ` Chong Yidong
2007-02-01 22:41     ` Stefan Monnier
2007-02-01 23:03       ` Juanma Barranquero
2007-02-02 15:30         ` Stefan Monnier
2007-02-02 16:03           ` Juanma Barranquero
2007-02-02 16:30             ` Lennart Borgman (gmail)
2007-02-02 16:38               ` Juanma Barranquero
2007-02-02 17:15                 ` Lennart Borgman (gmail)
2007-02-02 17:21                   ` Juanma Barranquero
2007-02-02 16:47             ` Stefan Monnier
2007-02-02 17:08               ` Juanma Barranquero
2007-02-01 20:07   ` Juanma Barranquero
2007-02-01 20:50 ` Eli Zaretskii
2007-02-01 22:06   ` Juanma Barranquero

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).