From aa5a7948431437fc09931ac21eb05f365e1f8876 Mon Sep 17 00:00:00 2001 From: David Engster Date: Sun, 21 Feb 2016 17:16:45 +0100 Subject: [PATCH] Remove `semanticdb-save-all-db-idle' from `auto-save-hook' * 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/cedet/semantic/db-mode.el b/lisp/cedet/semantic/db-mode.el index e8be18576c8..73cc7b5585b 100644 --- a/lisp/cedet/semantic/db-mode.el +++ b/lisp/cedet/semantic/db-mode.el @@ -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.") -- 2.39.2