emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 03/09: Don't let deleting text screw up compilation-filter-start


From: Leo Liu
Subject: [elpa] 03/09: Don't let deleting text screw up compilation-filter-start
Date: Tue, 25 Feb 2014 08:45:57 +0000

leoliu pushed a commit to branch master
in repository elpa.

commit d2be33a2664009641ce1d7fbb76ccaccb6172bc8
Author: Leo Liu <address@hidden>
Date:   Mon Feb 24 18:02:02 2014 +0800

    Don't let deleting text screw up compilation-filter-start
---
 ggtags.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index e9bf7f3..a6eff4e 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -963,13 +963,13 @@ Global and Emacs."
 
 (defun ggtags-global-filter ()
   "Called from `compilation-filter-hook' (which see)."
+  (ansi-color-apply-on-region compilation-filter-start (point))
   ;; Get rid of line "Using config file '/PATH/TO/.globalrc'." or
   ;; "Using default configuration."
   (when (re-search-backward
          "^ *Using \\(?:config file '.*\\|default configuration.\\)\n"
          compilation-filter-start t)
     (replace-match ""))
-  (ansi-color-apply-on-region compilation-filter-start (point))
   (incf ggtags-global-output-lines
         (count-lines compilation-filter-start (point)))
   (when (> ggtags-global-output-lines 5)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]