emacs nxhtml-mode[No match]
I am having some problems with nxhtml installation, I want my .php files to look better and I don't wanna go back to netbeans...
I have downloaded nxhtml and I created a folder called 'emacs-packages' where my .emacs is I added this line in my .emacs file :
(load "emacs-packages/nxhtml/autostart22.el")
whenever I try M-x nxhtml-mode I get [No Match] as an answer...
I also tried
(load "emacs-packages/nxhtml/autostart.el")
and开发者_开发百科 I get an error on startup but since my version is 22 I think the first one is more appropriate
are there any other packages I should install forst in order to use it? what am I doing wrong?
I am using Carbon emacs 22.3.1 on MacOs
thanks!
The only thing you need is
(load "emacs-packages/nxhtml/autostart.el")
Try to specify the full path. Put the cursor on "emacs-packages/nxhtml/autostart.el"
and call M-x ffap to see if it can do find-file-at-point
.
Problem solved I just changed the load to load-file:
(load-file "emacs-packages/nxhtml/autostart.el")
this page here explains difference Link
精彩评论