;; filling region.
(when (not end-marker)
(goto-char end)
- (when (looking-back (rx "*/") 2)
- (backward-char 2)
- (skip-syntax-backward "-")
+ (forward-line 0)
+ (when (looking-at (rx (* (or (syntax whitespace) "*" "=" "-"))
+ "*/" eol))
(setq end (point))))
;; Let `fill-paragraph' do its thing.
=-=
/*================================================================
* woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy
- woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy
+ * woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy
woooomy woooomy woooomy woooomy woooomy
* ================================================================*/
=-=
* ================================================================*/
=-=-=
+Name: Type 4 Single-line
+
+=-=
+/*================================================================
+ * woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy
+ * ================================================================*/
+=-=
+/*================================================================
+ * woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy
+ * woooomy woooomy
+ * ================================================================*/
+=-=-=
+
+
Name: Type 5
/* woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy woooomy