diff options
| author | Eli Zaretskii | 2009-02-13 15:19:06 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2009-02-13 15:19:06 +0000 |
| commit | c9ae6ddd1e059435fa315d4bca72d28c85eb458c (patch) | |
| tree | e5da6214ae5cbef20e671ffe3458bf846bf1e0d1 | |
| parent | e005ff0da1ce4811b4f6e817e4ae9a4098b11394 (diff) | |
| download | emacs-c9ae6ddd1e059435fa315d4bca72d28c85eb458c.tar.gz emacs-c9ae6ddd1e059435fa315d4bca72d28c85eb458c.zip | |
(locate-library): Doc fix. (Bug#2291)
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/subr.el | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 77190129dad..95f8c59e01b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-02-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * files.el (load-library): Doc fix. | ||
| 4 | |||
| 5 | * subr.el (locate-library): Doc fix. (Bug#2291) | ||
| 6 | |||
| 1 | 2009-02-13 Alan Mackenzie <acm@muc.de> | 7 | 2009-02-13 Alan Mackenzie <acm@muc.de> |
| 2 | 8 | ||
| 3 | * progmodes/cc-cmds.el (c-defun-name): Widen, to allow it to work | 9 | * progmodes/cc-cmds.el (c-defun-name): Widen, to allow it to work |
diff --git a/lisp/subr.el b/lisp/subr.el index 42447a4c28b..bf27605b02c 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1501,6 +1501,9 @@ definition, variable definition, or face definition only." | |||
| 1501 | 1501 | ||
| 1502 | (defun locate-library (library &optional nosuffix path interactive-call) | 1502 | (defun locate-library (library &optional nosuffix path interactive-call) |
| 1503 | "Show the precise file name of Emacs library LIBRARY. | 1503 | "Show the precise file name of Emacs library LIBRARY. |
| 1504 | LIBRARY should be a relative file name of the library, a string. | ||
| 1505 | It can omit the suffix (a.k.a. file-name extension) if NOSUFFIX is | ||
| 1506 | nil (which is the default, see below). | ||
| 1504 | This command searches the directories in `load-path' like `\\[load-library]' | 1507 | This command searches the directories in `load-path' like `\\[load-library]' |
| 1505 | to find the file that `\\[load-library] RET LIBRARY RET' would load. | 1508 | to find the file that `\\[load-library] RET LIBRARY RET' would load. |
| 1506 | Optional second arg NOSUFFIX non-nil means don't add suffixes `load-suffixes' | 1509 | Optional second arg NOSUFFIX non-nil means don't add suffixes `load-suffixes' |