* bug#7757: 24.0.50; list-load-path-shadows should be documented in lispref manual
@ 2010-12-29 18:56 emacs18
2011-01-23 20:34 ` Chong Yidong
0 siblings, 1 reply; 2+ messages in thread
From: emacs18 @ 2010-12-29 18:56 UTC (permalink / raw
To: 7757
I recently stumbled onto list-load-path-shadows command defined in
shadow.el. This is a very useful command, but it is not mentioned
in the lispref manual. I took a stab at adding it to the manual as
shown by the diff below which adds a few lines at the end of the
"Library Search" node in the manual just after the documentation
of locate-library.
=== modified file 'doc/lispref/loading.texi'
--- doc/lispref/loading.texi 2010-11-18 03:54:14 +0000
+++ doc/lispref/loading.texi 2010-12-29 18:50:23 +0000
@@ -363,6 +363,20 @@
tells @code{locate-library} to display the file name in the echo area.
@end deffn
+@deffn Command list-load-path-shadows &optional stringp
+Display a list of Emacs Lisp files that shadow other files.
+
+If @var{stringp} is non-@code{nil}, returns any shadows as a string.
+Otherwise, if interactive shows any shadows in a ``*Shadows*'' buffer;
+else prints messages listing any shadows.
+
+This function lists potential load path problems. Directories in
+the @var{load-path} variable are searched, in order, for Emacs Lisp
+files. When a previously encountered file name is found again, a
+message is displayed indicating that the later file is ``hidden'' by
+the earlier.
+@end deffn
+
@node Loading Non-ASCII
@section Loading Non-@acronym{ASCII} Characters
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-23 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-29 18:56 bug#7757: 24.0.50; list-load-path-shadows should be documented in lispref manual emacs18
2011-01-23 20:34 ` Chong Yidong
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.