chiark / gitweb /
el/dot-emacs.el: Allow `+' as a list item marker.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 4 Feb 2010 13:21:52 +0000 (13:21 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 4 Feb 2010 13:26:20 +0000 (13:26 +0000)
This is useful for Org mode; while Org itself is happy enough with `*' as
a marker, the LaTeX exporter doesn't recognize it, so I'll use `+'
instead.

el/dot-emacs.el

index 102877d647c81c63897937c9f941863ab66f14ae..18e9fb2a1fe6d6207ca7a9a8de2ee2079c30e24a 100644 (file)
@@ -598,7 +598,7 @@ (make-variable-buffer-local 'mdw-fill-prefix)
 
 (defvar mdw-hanging-indents
   (concat "\\(\\("
-           "\\([*o]\\|-[-#]?\\|[0-9]+\\.\\|\\[[0-9]+\\]\\|([a-zA-Z])\\)"
+           "\\([*o+]\\|-[-#]?\\|[0-9]+\\.\\|\\[[0-9]+\\]\\|([a-zA-Z])\\)"
            "[ \t]+"
          "\\)?\\)")
   "*Standard regexp matching parts of a hanging indent.