]> code.delx.au - gnu-emacs/commitdiff
Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
authorDavid Engster <deng@randomsample.de>
Sun, 21 Feb 2016 16:16:45 +0000 (17:16 +0100)
committerDavid Engster <deng@randomsample.de>
Sun, 21 Feb 2016 16:21:55 +0000 (17:21 +0100)
* lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
  `semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
  not an idle hook, so it's not appropriate to call it there. It will
  already be called in the `semantic-idle-work-core-handler', which
  runs when Emacs is actually idle.

lisp/cedet/semantic/db-mode.el

index e8be18576c872a7f3a5cf934814a336e3239f65d..73cc7b5585b4e70e044f89a34e9c7e18a2cd539a 100644 (file)
@@ -39,7 +39,6 @@
     (semanticdb-kill-hook kill-buffer-hook)
     (semanticdb-kill-hook change-major-mode-hook) ;; Not really a kill, but we need the same effect.
     (semanticdb-kill-emacs-hook kill-emacs-hook)
-    (semanticdb-save-all-db-idle auto-save-hook)
     )
   "List of hooks and values to add/remove when configuring semanticdb.")