mooz/js2-mode — pull request #147 by jart (2014-07-03 23:39:51+00:00)
Title: Fix behavior of paragraph hopping key bindings.

The default emacs behavior for the `forward-paragraph` and
`backward-paragraph` functions is to hop between blank lines in a source
code file. This breaks in `js2-mode` in the presence of javadoc
@clauses.

This commit fixes this behavior by adding advice to the following
standard emacs functions, which only applies to `js2-mode`:

- forward-paragraph
- backward-paragraph
- fill-paragraph

The existing functionality for filling paragraphs within javadocs is
preserved.

Video explanation: