comparison lisp/diff-mode.el @ 64512:a4d1eb8d55e6

(diff-font-lock-keywords): Simplify comments fontifying rule.
author Juri Linkov <juri@jurta.org>
date Tue, 19 Jul 2005 14:42:40 +0000
parents 558b187cced1
children 41bb365f41c4 187d6a1f84f7
comparison
equal deleted inserted replaced
64511:1564c7bbebdd 64512:a4d1eb8d55e6
337 (1 diff-indicator-changed-face) (2 diff-changed-face)) 337 (1 diff-indicator-changed-face) (2 diff-changed-face))
338 ("^Index: \\(.+\\).*\n" 338 ("^Index: \\(.+\\).*\n"
339 (0 diff-header-face) (1 diff-index-face prepend)) 339 (0 diff-header-face) (1 diff-index-face prepend))
340 ("^Only in .*\n" . diff-nonexistent-face) 340 ("^Only in .*\n" . diff-nonexistent-face)
341 ("^\\(#\\)\\(.*\\)" 341 ("^\\(#\\)\\(.*\\)"
342 (1 (eval font-lock-comment-delimiter-face)) 342 (1 font-lock-comment-delimiter-face)
343 (2 (eval font-lock-comment-face))) 343 (2 font-lock-comment-face))
344 ("^[^-=+*!<>#].*\n" (0 diff-context-face)))) 344 ("^[^-=+*!<>#].*\n" (0 diff-context-face))))
345 345
346 (defconst diff-font-lock-defaults 346 (defconst diff-font-lock-defaults
347 '(diff-font-lock-keywords t nil nil nil (font-lock-multiline . nil))) 347 '(diff-font-lock-keywords t nil nil nil (font-lock-multiline . nil)))
348 348