Do not highlight 64 equal characters.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Nov 2015 15:13:52 +0200
changeset 1304 8c1f6458c907
parent 1303 60e6b8174aee
child 1305 57b16a684500
Do not highlight 64 equal characters.
.emacs-my
.emacs-obsolete
--- a/.emacs-my	Sun Nov 01 15:11:09 2015 +0200
+++ b/.emacs-my	Sun Nov 01 15:13:52 2015 +0200
@@ -1627,11 +1627,6 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "TODO, XXX, FIXME highlight")
 
-(defface my-contrasty-face
-  '((t :background "pink" :foreground "red" :weight bold))
-  "Font for showing conflicts."
-  :group 'basic-faces)
-
 (dolist (mode (append my-devel-mode-list my-text-mode-list))
   (font-lock-add-keywords
    mode
--- a/.emacs-obsolete	Sun Nov 01 15:11:09 2015 +0200
+++ b/.emacs-obsolete	Sun Nov 01 15:13:52 2015 +0200
@@ -69,3 +69,18 @@
 ;; For Cygwin.
 
 (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(message "TODO, XXX, FIXME highlight")
+
+(defface my-contrasty-face
+  '((t :background "pink" :foreground "red" :weight bold))
+  "Font for showing conflicts."
+  :group 'basic-faces)
+
+(dolist (mode (append my-devel-mode-list my-text-mode-list))
+  (font-lock-add-keywords
+   mode
+   `(
+     ;; 64 times, for highlight C-u C-u C-u <key>
+     ("\\([^[:space:]]\\)\\1\\{63\\}" 0 'my-contrasty-face t) )) )