aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-01-01 13:14:22 -0500
committerChong Yidong2010-01-01 13:14:22 -0500
commit4801c5fa405dd7e511d572c195be7bd1ad9f892e (patch)
treed11a5fc7c9509914018dce9e0211124d7fe901f3
parent8932b1c23656efbb76e0fc60d845c8b854cf509a (diff)
downloademacs-4801c5fa405dd7e511d572c195be7bd1ad9f892e.tar.gz
emacs-4801c5fa405dd7e511d572c195be7bd1ad9f892e.zip
* src/lread.c (syms_of_lread): Make it clearer that these are the
names of loaded files (Bug#5068). * doc/lispref/loading.texi (Where Defined): Make it clearer that these are loaded files (Bug#5068).
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/loading.texi15
-rw-r--r--src/ChangeLog3
-rw-r--r--src/lread.c28
4 files changed, 30 insertions, 21 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 8e88e5026e8..0f4abc7a984 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12010-01-01 Chong Yidong <cyd@stupidchicken.com>
2
3 * loading.texi (Where Defined): Make it clearer that these are
4 loaded files (Bug#5068).
5
12009-12-29 Chong Yidong <cyd@stupidchicken.com> 62009-12-29 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * minibuf.texi (Completion Styles): Document `initials' style. 8 * minibuf.texi (Completion Styles): Document `initials' style.
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 8ccc0071e2a..416d4513b67 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -823,13 +823,14 @@ without extension.
823@code{load-history}. 823@code{load-history}.
824 824
825@defvar load-history 825@defvar load-history
826This variable's value is an alist connecting library file names with the 826This value of this variable is an alist that associates the names of
827names of functions and variables they define, the features they provide, 827loaded library files with the names of the functions and variables
828and the features they require. 828they defined, as well as the features they provided or required.
829 829
830Each element is a list and describes one library. The @sc{car} of the 830Each element in this alist describes one loaded library (including
831list is the absolute file name of the library, as a string. The rest 831libraries that are preloaded at startup). It is a list whose @sc{car}
832of the list elements have these forms: 832is the absolute file name of the library (a string). The rest of the
833list elements have these forms:
833 834
834@table @code 835@table @code
835@item @var{var} 836@item @var{var}
diff --git a/src/ChangeLog b/src/ChangeLog
index d6447678e0b..73000341f68 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12010-01-01 Chong Yidong <cyd@stupidchicken.com> 12010-01-01 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * lread.c (syms_of_lread): Make it clearer that these are the
4 names of loaded files (Bug#5068).
5
3 * eval.c (run_hook_with_args): Handle the case where the global 6 * eval.c (run_hook_with_args): Handle the case where the global
4 value has the obsolete single-function form (Bug#5026). 7 value has the obsolete single-function form (Bug#5026).
5 8
diff --git a/src/lread.c b/src/lread.c
index 0649c638d98..50d2702639e 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4377,20 +4377,20 @@ the rest of the FORMS. */);
4377 Vafter_load_alist = Qnil; 4377 Vafter_load_alist = Qnil;
4378 4378
4379 DEFVAR_LISP ("load-history", &Vload_history, 4379 DEFVAR_LISP ("load-history", &Vload_history,
4380 doc: /* Alist mapping file names to symbols and features. 4380 doc: /* Alist mapping loaded file names to symbols and features.
4381Each alist element is a list that starts with a file name, 4381Each alist element should be a list (FILE-NAME ENTRIES...), where
4382except for one element (optional) that starts with nil and describes 4382FILE-NAME is the name of a file that has been loaded into Emacs.
4383definitions evaluated from buffers not visiting files. 4383The file name is absolute and true (i.e. it doesn't contain symlinks).
4384 4384As an exception, one of the alist elements may have FILE-NAME nil,
4385The file name is absolute and is the true file name (i.e. it doesn't 4385for symbols and features not associated with any file.
4386contain symbolic links) of the loaded file. 4386
4387 4387The remaining ENTRIES in the alist element describe the functions and
4388The remaining elements of each list are symbols defined as variables 4388variables defined in that file, the features provided, and the
4389and cons cells of the form `(provide . FEATURE)', `(require . FEATURE)', 4389features required. Each entry has the form `(provide . FEATURE)',
4390`(defun . FUNCTION)', `(autoload . SYMBOL)', `(defface . SYMBOL)' 4390`(require . FEATURE)', `(defun . FUNCTION)', `(autoload . SYMBOL)',
4391and `(t . SYMBOL)'. An element `(t . SYMBOL)' precedes an entry 4391`(defface . SYMBOL)', or `(t . SYMBOL)'. In addition, an entry `(t
4392`(defun . FUNCTION)', and means that SYMBOL was an autoload before 4392. SYMBOL)' may precede an entry `(defun . FUNCTION)', and means that
4393this file redefined it as a function. 4393SYMBOL was an autoload before this file redefined it as a function.
4394 4394
4395During preloading, the file name recorded is relative to the main Lisp 4395During preloading, the file name recorded is relative to the main Lisp
4396directory. These file names are converted to absolute at startup. */); 4396directory. These file names are converted to absolute at startup. */);