[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp subr.el
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs/lisp subr.el |
Date: |
Fri, 13 Feb 2009 15:14:58 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Eli Zaretskii <eliz> 09/02/13 15:14:57
Modified files:
lisp : subr.el
Log message:
(locate-library): Doc fix. (Bug#2291)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/subr.el?cvsroot=emacs&r1=1.632&r2=1.633
Patches:
Index: subr.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/subr.el,v
retrieving revision 1.632
retrieving revision 1.633
diff -u -b -r1.632 -r1.633
--- subr.el 7 Feb 2009 10:45:17 -0000 1.632
+++ subr.el 13 Feb 2009 15:14:57 -0000 1.633
@@ -1501,6 +1501,9 @@
(defun locate-library (library &optional nosuffix path interactive-call)
"Show the precise file name of Emacs library LIBRARY.
+LIBRARY should be a relative file name of the library, a string.
+It can omit the suffix (a.k.a. file-name extension) if NOSUFFIX is
+nil (which is the default, see below).
This command searches the directories in `load-path' like `\\[load-library]'
to find the file that `\\[load-library] RET LIBRARY RET' would load.
Optional second arg NOSUFFIX non-nil means don't add suffixes `load-suffixes'