Simplify regex.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 12 Sep 2010 21:42:35 +0300
changeset 477 e1adf1d08f5b
parent 464 ae073d35f674
child 478 2e18034ae7fd
Simplify regex.
.emacs-my
--- a/.emacs-my	Sat Sep 11 00:22:13 2010 +0300
+++ b/.emacs-my	Sun Sep 12 21:42:35 2010 +0300
@@ -805,7 +805,7 @@
        org-remember-store-without-prompt t
        ) ))
 
-;;; ----------------------------------------------------------------------
+;;; ----------------------------------------------------------------
 ;;; TODO, XXX, FIXME highlight.
 ;; Show blanks and FIXME
 ;; http://www.emacswiki.org/cgi-bin/wiki/EightyColumnRule
@@ -826,7 +826,7 @@
      '(
        ("\t+" 0 'my-tab-face t)
        ("\\<\\(FIXME:?\\|XXX:?\\|TODO:?\\)\\>" 1 'font-lock-warning-face t)
-       ("\\(=\\{7,\\}\\|<\\{7,\\}\\|>\\{7,\\}\\)" 1 'my-conflict-face t)
+       ("\\(=\\|<\\|>\\)\\{7,\\}" 0 'my-conflict-face t)
        ))))))
 
 ;; (dolist (mode '(c-mode