aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Engster2016-02-21 17:16:45 +0100
committerDavid Engster2016-02-21 17:21:55 +0100
commitaa5a7948431437fc09931ac21eb05f365e1f8876 (patch)
tree800b829fd745802837543fef7b4c2d048b6ffd77
parent2d8b2fd034ccc61f949b408373342b5f9f8ba592 (diff)
downloademacs-aa5a7948431437fc09931ac21eb05f365e1f8876.tar.gz
emacs-aa5a7948431437fc09931ac21eb05f365e1f8876.zip
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.
-rw-r--r--lisp/cedet/semantic/db-mode.el1
1 files changed, 0 insertions, 1 deletions
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 @@
39 (semanticdb-kill-hook kill-buffer-hook) 39 (semanticdb-kill-hook kill-buffer-hook)
40 (semanticdb-kill-hook change-major-mode-hook) ;; Not really a kill, but we need the same effect. 40 (semanticdb-kill-hook change-major-mode-hook) ;; Not really a kill, but we need the same effect.
41 (semanticdb-kill-emacs-hook kill-emacs-hook) 41 (semanticdb-kill-emacs-hook kill-emacs-hook)
42 (semanticdb-save-all-db-idle auto-save-hook)
43 ) 42 )
44 "List of hooks and values to add/remove when configuring semanticdb.") 43 "List of hooks and values to add/remove when configuring semanticdb.")
45 44