Function: find-library

find-library is an autoloaded, interactive and byte-compiled function defined in find-func.el.gz.

Signature

(find-library LIBRARY)

Documentation

Find the Emacs Lisp source of LIBRARY.

Interactively, prompt for LIBRARY using the one at or near point.

This function searches find-library-source-path if non-nil, and load-path otherwise.

Probably introduced at or before Emacs version 25.2.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
;;;###autoload
(defun find-library (library)
  "Find the Emacs Lisp source of LIBRARY.

Interactively, prompt for LIBRARY using the one at or near point.

This function searches `find-library-source-path' if non-nil, and
`load-path' otherwise."
  (interactive (list (read-library-name)))
  (prog1
      (switch-to-buffer (find-file-noselect (find-library-name library)))
    (run-hooks 'find-function-after-hook)))