From: g0dil Date: Sat, 3 Feb 2007 13:03:24 +0000 (+0000) Subject: Fix pragraph filling in doxy comments X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=9ec0a8e88d20be287b42fff00fa228fef5a41496;p=emacsstuff.git Fix pragraph filling in doxy comments --- diff --git a/cc-ide/cc-ide.el b/cc-ide/cc-ide.el index 8796fcb..c7b8193 100644 --- a/cc-ide/cc-ide.el +++ b/cc-ide/cc-ide.el @@ -49,7 +49,8 @@ (defconst ccide-doxy-tag-re (concat "\\\\\\(group\\|defgroup\\|see\\|author\\|version\\|id\\|since" "\\|returns?\\|throws?\\|exception\\|raises\\|param\\|li\\|brief" - "\\|internal\\|bug\\|fixme\\|todo\\|idea\\|implementation\\)\\b")) + "\\|internal\\|bug\\|fixme\\|todo\\|idea\\|implementation" + "\\|note\\|attention\\|warning\\)\\b")) (defconst ccide-special-extensions '(".h" ".hh" ".mpp" ".ih" ".cc" ".cpp" ".ct" ".cti" ".cci")) @@ -1380,6 +1381,8 @@ instatiations at point." (local-set-key "\C-cC" 'ccide-hide-all-doxy-comments) (local-set-key "\C-cS" 'ccide-show-all-comments) (set (make-local-variable 'auto-fill-function) 'ccide-fill-function) + (set (make-local-variable 'paragraph-start) (concat "[ \t\f]*$\\|[ \t\f]*" ccide-doxy-tag-re)) + (set (make-local-variable 'paragraph-separate) "[ \t\f]*$") (auto-fill-mode -1) (ccide-auto-decorate-new-files))