emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8b57f12: Consider a jsdoc tag to be a beginning of


From: Dmitry Gutov
Subject: [Emacs-diffs] master 8b57f12: Consider a jsdoc tag to be a beginning of a paragraph as well
Date: Sat, 18 Jul 2015 01:01:38 +0000

branch: master
commit 8b57f12ab798fd231bf05fd800ccf5e6c544e560
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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.
---
 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 f06c5c7..c49f25b 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."
 
   ;; 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 "//"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]