diff options
| author | Dmitry Gutov | 2015-07-18 04:01:01 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2015-07-18 04:01:30 +0300 |
| commit | 8b57f12ab798fd231bf05fd800ccf5e6c544e560 (patch) | |
| tree | 8918694d70c02a3627d2d29ff5aecfe56fa9eac6 | |
| parent | 6413c10131972726a26c979a08a2869fa6b915b6 (diff) | |
| download | emacs-8b57f12ab798fd231bf05fd800ccf5e6c544e560.tar.gz emacs-8b57f12ab798fd231bf05fd800ccf5e6c544e560.zip | |
Consider a jsdoc tag to be a beginning of a paragraph as well
* lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
consider a jsdoc tag to be a beginning of a paragraph as well.
| -rw-r--r-- | lisp/progmodes/js.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index f06c5c75b1a..c49f25b4b2d 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -3528,7 +3528,7 @@ If one hasn't been set, or if it's stale, prompt for a new one." | |||
| 3528 | 3528 | ||
| 3529 | ;; for filling, pretend we're cc-mode | 3529 | ;; for filling, pretend we're cc-mode |
| 3530 | (setq c-comment-prefix-regexp "//+\\|\\**" | 3530 | (setq c-comment-prefix-regexp "//+\\|\\**" |
| 3531 | c-paragraph-start "$" | 3531 | c-paragraph-start "\\(@[[:alpha:]]+\\>\\|$\\)" |
| 3532 | c-paragraph-separate "$" | 3532 | c-paragraph-separate "$" |
| 3533 | c-block-comment-prefix "* " | 3533 | c-block-comment-prefix "* " |
| 3534 | c-line-comment-starter "//" | 3534 | c-line-comment-starter "//" |