skeeto / skewer-mode

Live web development in Emacs
The Unlicense
1.1k stars 57 forks source link

Don't rely on css-backward-sexp #35

Closed purcell closed 11 years ago

purcell commented 11 years ago

In recent Emacs snapshots, there's no longer a css-backward-sexp, so skewer-css-beginning-of-declaration will produce an error.

I'd expect that plain old backward-sexp should do the trick, but I admit that I haven't confirmed this. :-)

skeeto commented 11 years ago

Looks like it works just fine, thanks! Using backward-sexp as part of a more general major mode API seems much nicer than using namespaced functions.

Merged as cf2998dfb82b3b64e1196e1496d260ef28240a36.