php-mode
php-mode copied to clipboard
manual install instructions incorrect
README is incorrect:
download the php-mode.el file, place it inside your load-path
You also need php-project.el, would be good to include more info as well:
download php-mode.el and php-project.el, install in your load-path (e.g. ~/.emacs/lisp
)
To get the latest version of php-mode go to PHP Mode’s GitHub page, switch to the upstream branch (currently master
):
https://github.com/emacs-php/php-mode/tree/master
Download the latest version either via git or direct download:
$ wget https://github.com/emacs-php/php-mode/archive/master.zip
$ unzip master.zip
Move php-mode-master
to your Emacs Lisp path (eg.site-lisp
)
$ mv php-mode-master ~/.emacs.d/site-lisp/php-mode
Add php-mode
to the load path:
(add-to-list 'load-path
(concat (file-truename user-emacs-directory) "site-lisp/php-mode/"))
Load/require php-mode.el
php-project.el
.
The same works for formal, tagged releases.
@robnagler @sergeyklay I am sorry for not replying to this issue. My recommended introduction method was explained in #515.
As I am a Japanese speaker and I am not good at English, please cooperate to make this document easier to understand. Thank you!
Installation instructions are documented in Manual installation · emacs-php/php-mode Wiki. Feel free to suggest any ideas for improvement. thank you!