yasuyk / web-beautify

Format HTML, CSS and JavaScript/JSON by js-beautify
GNU General Public License v3.0
219 stars 21 forks source link

- Symbol's function definition is void: use-region-p #14

Open kyasuda2003 opened 9 years ago

kyasuda2003 commented 9 years ago

i have an init.el under .emacs.d and folder disp host the plugin. I also followed your instruction and had npm installed. But when I tried to turn on region and M-x web-beautify-js it, it gave me-

I'm running emacs 22 on mac osx. Please advise.

Thank you, /ky

yasuyk commented 8 years ago

Sorry for the very very delayed response. It seems like use-region-p is added in emacs 23. A preinstalled emacs on OS X is very old. The current stable emacs version is 24.5. I recommend you to install latest emacs using Homebrew.