Perform grep-mode's buffer modifications in a process filter (Bug#7952)
authorChong Yidong <cyd@stupidchicken.com>
Sun, 8 May 2011 05:17:17 +0000 (01:17 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 8 May 2011 05:17:17 +0000 (01:17 -0400)
commitd9c54a06a0883f6be111b498dc44a4fe38c7f49e
tree17de8fc8930e7679e3373e271b362cbb98767391
parentc46626351cb23fdb990174ad86da00bd4e159c81
Perform grep-mode's buffer modifications in a process filter (Bug#7952)

* progmodes/grep.el (grep-mode-font-lock-keywords): Remove
buffer-changing entries.
(grep-filter): New function.
(grep-mode): Add it to compilation-filter-hook.

* progmodes/compile.el (compilation-filter-hook)
(compilation-filter-start): New defvars.
(compilation-filter): Call compilation-filter-hook prior to
updating the process mark.
etc/NEWS
lisp/ChangeLog
lisp/progmodes/compile.el
lisp/progmodes/grep.el