From: Richard M. Stallman Date: Sun, 8 Mar 1998 06:51:26 +0000 (+0000) Subject: (c-Java-javadoc-paragraph-start): New variable for use in c-fill-paragraph. X-Git-Tag: emacs-20.3~1966 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=717d3be71d714bb8cb355d6d1db69b2991bcf46a;p=emacs.git (c-Java-javadoc-paragraph-start): New variable for use in c-fill-paragraph. --- diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index ec9308b3cc3..6aac38aa532 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el @@ -27,7 +27,6 @@ ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, ;; Boston, MA 02111-1307, USA. -(require 'cc-defs) (require 'cc-defs) @@ -163,6 +162,10 @@ (defconst c-Java-defun-prompt-regexp "^[ \t]*\\(\\(\\(public\\|protected\\|private\\|const\\|abstract\\|synchronized\\|final\\|static\\|threadsafe\\|transient\\|native\\|volatile\\)\\s-+\\)*\\(\\(\\([[a-zA-Z][][_$.a-zA-Z0-9]*[][_$.a-zA-Z0-9]+\\|[[a-zA-Z]\\)\\s-*\\)\\s-+\\)\\)?\\(\\([[a-zA-Z][][_$.a-zA-Z0-9]*\\s-+\\)\\s-*\\)?\\([_a-zA-Z][^][ \t:;.,{}()=]*\\|\\([_$a-zA-Z][_$.a-zA-Z0-9]*\\)\\)\\s-*\\(([^);{}]*)\\)?\\([] \t]*\\)\\(\\s-*\\\\s-*\\(\\([_$a-zA-Z][_$.a-zA-Z0-9]*\\)[, \t\n\r\f]*\\)+\\)?\\s-*") +;; Regexp describing Javadoc markup that always starts paragraphs. +(defconst c-Java-javadoc-paragraph-start + "@\\(author\\|exception\\|param\\|return\\|see\\|version\\)") + ;; internal state variables