comparison lisp/help.el @ 16063:b4427bbd451e

(locate-library): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Sep 1996 01:05:22 +0000
parents 4a675a6a15c8
children a9d32637ee38
comparison
equal deleted inserted replaced
16062:2a9b6a25cb9e 16063:b4427bbd451e
665 (message "%s is on %s" definition keys1) 665 (message "%s is on %s" definition keys1)
666 (message "%s is not on any key" definition))) 666 (message "%s is not on any key" definition)))
667 nil) 667 nil)
668 668
669 (defun locate-library (library &optional nosuffix) 669 (defun locate-library (library &optional nosuffix)
670 "Show the full path name of Emacs library LIBRARY. 670 "Show the precise file name of Emacs library LIBRARY.
671 This command searches the directories in `load-path' like `M-x load-library' 671 This command searches the directories in `load-path' like `M-x load-library'
672 to find the file that `M-x load-library RET LIBRARY RET' would load. 672 to find the file that `M-x load-library RET LIBRARY RET' would load.
673 Optional second arg NOSUFFIX non-nil means don't add suffixes `.elc' or `.el' 673 Optional second arg NOSUFFIX non-nil means don't add suffixes `.elc' or `.el'
674 to the specified name LIBRARY (a la calling `load' instead of `load-library')." 674 to the specified name LIBRARY."
675 (interactive "sLocate library: ") 675 (interactive "sLocate library: ")
676 (catch 'answer 676 (catch 'answer
677 (mapcar 677 (mapcar
678 '(lambda (dir) 678 '(lambda (dir)
679 (mapcar 679 (mapcar