-
Notifications
You must be signed in to change notification settings - Fork 118
Local PHP Manual
USAMI Kenta edited this page Apr 30, 2021
·
6 revisions
Notice: This feature is not actively maintained. See Unmaintained Features.
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.
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))
- You don't need to use the local manual unless you are offline.
-
php-search-documentation-function
was added in PHP Mode 2.0.