chiark / gitweb /
dot-emacs: Update mdw-hanging-indents for Doxygen-style lists.
[profile] / dot-emacs.el
index cb2047dafc7ad8e6e11a26ed399c55653e9c1d71..d123512c48779d951d28e5210919e83dc63f24a0 100644 (file)
@@ -426,7 +426,10 @@ (defvar mdw-fill-prefix nil
 (make-variable-buffer-local 'mdw-fill-prefix)
 
 (defvar mdw-hanging-indents
-  "\\(\\(\\([*o]\\|--\\|[0-9]+\\.\\|\\[[0-9]+\\]\\|([a-zA-Z])\\)[ \t]+\\)?\\)"
+  (concat "\\(\\("
+           "\\([*o]\\|-[-#]?\\|[0-9]+\\.\\|\\[[0-9]+\\]\\|([a-zA-Z])\\)"
+           "[ \t]+"
+         "\\)?\\)")
   "*Standard regular expression matching things which might be part of a
 hanging indent.  This is mainly useful in `auto-fill-mode'.")