Skip to content

Local PHP Manual

USAMI Kenta edited this page Apr 30, 2021 · 6 revisions

Notice: This feature is not actively maintained. See Unmaintained Features.

php-search-documentation using local manual

When this feature is enabled, php-search-documentation (which is bound to C-c C-f by default) will open a locally installed manual in your browser instead of the online manual at www.php.net.

Setup

Download “Many HTML files” for your favorite language from Download documentation and expand the file.

Put follows code into your .emacs (~/.emacs.d/init.el) file:

(custom-set-variables
 '(php-manual-path (expand-file-name "~/local/share/php-manual"))
 '(php-search-documentation-function #'php-local-manual-search))

Hint