changeset 104516:cd549f5a486b

* cedet/semantic/util-modes.el (semantic-show-parser-state-mode-setup): Use new hook names.
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 26 Sep 2009 18:23:56 +0000
parents fc482eb30cf7
children beb4db733a34
files lisp/ChangeLog lisp/cedet/semantic/util-modes.el
diffstat 2 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Sep 26 18:09:29 2009 +0000
+++ b/lisp/ChangeLog	Sat Sep 26 18:23:56 2009 +0000
@@ -27,10 +27,6 @@
 	Use semantic-init-hook instead of obsolete alias
 	semantic-init-hooks.
 
-	* cedet/semantic/db-file.el (semanticdb-save-database-hook):
-	Rename from semanticdb-save-database-hooks.  Make old name an
-	obsolete alias.
-
 	* cedet/semantic/decorate/mode.el
 	(semantic-decorate-pending-decoration-hook): Rename from
 	semantic-decorate-pending-decoration-hooks.  Make old name an
@@ -52,6 +48,7 @@
 	* cedet/semantic/util-modes.el (semantic-mode-line-update)
 	(semantic-toggle-minor-mode-globally): Use semantic-init-hook
 	instead of obsolete alias semantic-init-hooks.
+	(semantic-show-parser-state-mode-setup): Use new hook names.
 
 2009-09-26  Chong Yidong  <cyd@stupidchicken.com>
 
--- a/lisp/cedet/semantic/util-modes.el	Sat Sep 26 18:09:29 2009 +0000
+++ b/lisp/cedet/semantic/util-modes.el	Sat Sep 26 18:23:56 2009 +0000
@@ -612,11 +612,11 @@
 	(add-hook 'semantic-after-auto-parse-hooks
 		  'semantic-show-parser-state-marker nil t)
 
-	(semantic-make-local-hook 'semantic-before-idle-scheduler-reparse-hooks)
-	(add-hook 'semantic-before-idle-scheduler-reparse-hooks
+	(semantic-make-local-hook 'semantic-before-idle-scheduler-reparse-hook)
+	(add-hook 'semantic-before-idle-scheduler-reparse-hook
 		  'semantic-show-parser-state-auto-marker nil t)
-	(semantic-make-local-hook 'semantic-after-idle-scheduler-reparse-hooks)
-	(add-hook 'semantic-after-idle-scheduler-reparse-hooks
+	(semantic-make-local-hook 'semantic-after-idle-scheduler-reparse-hook)
+	(add-hook 'semantic-after-idle-scheduler-reparse-hook
 		  'semantic-show-parser-state-marker nil t)
         )
     ;; Remove parts of mode line
@@ -637,9 +637,9 @@
     (remove-hook 'semantic-after-auto-parse-hooks
 		 'semantic-show-parser-state-marker t)
 
-    (remove-hook 'semantic-before-idle-scheduler-reparse-hooks
+    (remove-hook 'semantic-before-idle-scheduler-reparse-hook
 		 'semantic-show-parser-state-auto-marker t)
-    (remove-hook 'semantic-after-idle-scheduler-reparse-hooks
+    (remove-hook 'semantic-after-idle-scheduler-reparse-hook
 		 'semantic-show-parser-state-marker t)
     )
   semantic-show-parser-state-mode)