projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6413c10
)
Consider a jsdoc tag to be a beginning of a paragraph as well
author
Dmitry Gutov
<dgutov@yandex.ru>
Sat, 18 Jul 2015 01:01:01 +0000
(
04:01
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Sat, 18 Jul 2015 01:01:30 +0000
(
04:01
+0300)
* lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
consider a jsdoc tag to be a beginning of a paragraph as well.
lisp/progmodes/js.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/js.el
b/lisp/progmodes/js.el
index f06c5c75b1a65e88f0fe8b113df70d9f5d4b7f8f..c49f25b4b2db85d0de205bfd4ebc523c13f7eff7 100644
(file)
--- 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."
;; for filling, pretend we're cc-mode
(setq c-comment-prefix-regexp "//+\\|\\**"
- c-paragraph-start "
$
"
+ c-paragraph-start "
\\(@[[:alpha:]]+\\>\\|$\\)
"
c-paragraph-separate "$"
c-block-comment-prefix "* "
c-line-comment-starter "//"