[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el |
Date: |
Thu, 16 Dec 2004 02:27:46 -0500 |
Index: emacs/lisp/progmodes/grep.el
diff -c emacs/lisp/progmodes/grep.el:1.29 emacs/lisp/progmodes/grep.el:1.30
*** emacs/lisp/progmodes/grep.el:1.29 Thu Nov 25 03:05:00 2004
--- emacs/lisp/progmodes/grep.el Thu Dec 16 07:16:44 2004
***************
*** 275,280 ****
--- 275,283 ----
(defvar grep-error-face compilation-error-face
"Face name to use for grep error messages.")
+ (defvar grep-match-face 'match
+ "Face name to use for grep matches.")
+
(defvar grep-mode-font-lock-keywords
'(;; Command output lines.
("^\\([A-Za-z_0-9/\.+-]+\\)[ \t]*:" 1 font-lock-function-name-face)
***************
*** 291,297 ****
(2 compilation-line-face))
;; Highlight grep matches and delete markers
("\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\)"
! (2 compilation-column-face)
((lambda (p))
(progn
;; Delete markers with `replace-match' because it updates
--- 294,300 ----
(2 compilation-line-face))
;; Highlight grep matches and delete markers
("\\(\033\\[01;41m\\)\\(.*?\\)\\(\033\\[00m\\)"
! (2 grep-match-face)
((lambda (p))
(progn
;; Delete markers with `replace-match' because it updates
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el,
Juri Linkov <=