- 论坛徽章:
- 0
|
emacs using 100% cpu bug fix for cedet.
--- semantic-idle.el 2005/09/30 20:20:43 1.34
+++ semantic-idle.el 2006/09/12 01:16:12 1.35
@@ -1,10 +1,10 @@
;;; semantic-idle.el --- Schedule parsing tasks in idle time
-;;; Copyright (C) 2003, 2004, 2005 Eric M. Ludlam
+;;; Copyright (C) 2003, 2004, 2005, 2006 Eric M. Ludlam
;; Author: Eric M. Ludlam
;; Keywords: syntax
-;; X-RCS: $Id: semantic-idle.el,v 1.34 2005/09/30 20:20:43 zappo Exp $
+;; X-RCS: $Id: semantic-idle.el,v 1.35 2006/09/12 01:16:12 zappo Exp $
;; This file is not part of GNU Emacs.
@@ -286,12 +286,9 @@
(when (zerop (recursion-depth))
(unwind-protect
(semantic-safe "idle error: %S"
- ;; Disable the auto parse timer while re-parsing
- (semantic-idle-scheduler-kill-timer)
;; Handle re-parsing and other scheduled services
(save-match-data (semantic-idle-core-handler)))
- ;; Enable again the auto parse timer
- (semantic-idle-scheduler-setup-timer))))
+ )))
;;; REPARSING
;;
Next, start up, as root, a new emacs and byte compile the package:
$ sudo emacs -nw -q
M-x byte-compile-file
/usr/share/emacs/site-lisp/semantic/semantic-idle.el
C-x C-c
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3272/showart_303196.html |
|