.emacs-obsolete
changeset 1304 8c1f6458c907
parent 1222 7a33c92b5d47
child 1313 ec0316f8e223
equal deleted inserted replaced
1303:60e6b8174aee 1304:8c1f6458c907
    67 
    67 
    68 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    68 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    69 ;; For Cygwin.
    69 ;; For Cygwin.
    70 
    70 
    71 (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
    71 (add-hook 'comint-output-filter-functions 'comint-strip-ctrl-m)
       
    72 
       
    73 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
       
    74 (message "TODO, XXX, FIXME highlight")
       
    75 
       
    76 (defface my-contrasty-face
       
    77   '((t :background "pink" :foreground "red" :weight bold))
       
    78   "Font for showing conflicts."
       
    79   :group 'basic-faces)
       
    80 
       
    81 (dolist (mode (append my-devel-mode-list my-text-mode-list))
       
    82   (font-lock-add-keywords
       
    83    mode
       
    84    `(
       
    85      ;; 64 times, for highlight C-u C-u C-u <key>
       
    86      ("\\([^[:space:]]\\)\\1\\{63\\}" 0 'my-contrasty-face t) )) )