* lisp/progmodes/compile.el: Avoid an N² behavior in grep.
commite52f87a1c0ac9e6f04c1047d2b4828744e83f7ba
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 29 Jan 2011 06:08:24 +0000 (29 01:08 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 29 Jan 2011 06:08:24 +0000 (29 01:08 -0500)
treedea7c5b7b8ee65198ec2ef9f2f8ce442a28b8f97
parent659114fdba7d5ea14541cdc713c7f9745eb93c46
* lisp/progmodes/compile.el: Avoid an N² behavior in grep.
(compilation--previous-directory): New fun.
(compilation--previous-directory-cache): New var.
(compilation--remove-properties): Flush it.
(compilation-directory-properties, compilation-error-properties):
Use the new fun to speed up looking for the current directory.
lisp/ChangeLog
lisp/progmodes/compile.el