From: David Engster Date: Sun, 21 Feb 2016 16:16:45 +0000 (+0100) Subject: Remove `semanticdb-save-all-db-idle' from `auto-save-hook' X-Git-Tag: emacs-25.0.92~75 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa5a7948431437fc09931ac21eb05f365e1f8876;p=emacs.git 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. --- 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.")