]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Nov 2012 16:50:08 +0000 (11:50 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 12 Nov 2012 16:50:08 +0000 (11:50 -0500)
* lisp/cedet/semantic/grammar.el (semantic-grammar-mode):
* lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
(semantic-show-parser-state-mode): Avoid obsolete name
semantic-edits-new-change-hooks.

Fixes: debbugs:12869
lisp/cedet/ChangeLog
lisp/cedet/semantic/grammar.el
lisp/cedet/semantic/mru-bookmark.el
lisp/cedet/semantic/util-modes.el

index 55fce80e18b838382d42e66773e640d60a91a837..6de901848c7571b558894bf23254531463ddf502 100644 (file)
@@ -1,3 +1,11 @@
+2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
+       * semantic/grammar.el (semantic-grammar-mode):
+       * semantic/util-modes.el (semantic-highlight-edits-mode)
+       (semantic-show-parser-state-mode): Avoid obsolete name
+       semantic-edits-new-change-hooks (bug#12869).
+
 2012-11-10  Glenn Morris  <rgm@gnu.org>
 
        * srecode/srt-mode.el (srecode-template-mode):
@@ -5,8 +13,8 @@
 
 2012-10-25  David Engster  <deng@randomsample.de>
 
-       * semantic/analyze.el (semantic-analyze-dereference-alias): New
-       function to dereference aliases.
+       * semantic/analyze.el (semantic-analyze-dereference-alias):
+       New function to dereference aliases.
        (semantic-analyze-current-context-default): Use it.
 
        * semantic/grammar.el (semantic-grammar-create-package):
@@ -17,8 +25,8 @@
 
        * semantic.el (semantic-elapsed-time): Make it a defsubst.
 
-       * srecode/dictionary.el (srecode-adebug-dictionary): Remove
-       require for `semantic'.
+       * srecode/dictionary.el (srecode-adebug-dictionary):
+       Remove require for `semantic'.
 
        * srecode/map.el:
        * srecode/insert.el: Declare functions from `data-debug'.
index c0e7b8f903816cab13bcb5e2b0e6124a15e30a04..8535c067e095775a32ce17b55c0a313f82643503 100644 (file)
@@ -1333,8 +1333,8 @@ the change bounds to encompass the whole nonterminal tag."
   (add-hook 'before-change-functions
             'semantic--grammar-clear-macros-regexp-2 nil t)
   ;; Handle safe re-parse of grammar rules.
-  (semantic-make-local-hook 'semantic-edits-new-change-hooks)
-  (add-hook 'semantic-edits-new-change-hooks
+  (semantic-make-local-hook 'semantic-edits-new-change-functions)
+  (add-hook 'semantic-edits-new-change-functions
             'semantic-grammar-edits-new-change-hook-fcn
             nil t)
   (semantic-run-mode-hooks 'semantic-grammar-mode-hook))
index d042ba42582ce895cfd10371cad835389904bf33..1358fc7d062adb50df5fed2fd1d6568acc6fa218 100644 (file)
@@ -292,13 +292,13 @@ minor mode is enabled."
             (setq semantic-mru-bookmark-mode nil)
             (error "Buffer %s was not set up for parsing"
                    (buffer-name)))
-        (semantic-make-local-hook 'semantic-edits-new-change-hooks)
-        (add-hook 'semantic-edits-new-change-hooks
+        (semantic-make-local-hook 'semantic-edits-new-change-functions)
+        (add-hook 'semantic-edits-new-change-functions
                   'semantic-mru-bookmark-change-hook-fcn nil t)
         (add-hook 'semantic-edits-move-change-hooks
                   'semantic-mru-bookmark-change-hook-fcn nil t))
     ;; Remove hooks
-    (remove-hook 'semantic-edits-new-change-hooks
+    (remove-hook 'semantic-edits-new-change-functions
                 'semantic-mru-bookmark-change-hook-fcn t)
     (remove-hook 'semantic-edits-move-change-hooks
                 'semantic-mru-bookmark-change-hook-fcn t)))
index c9a0faefe6c1cc7758fd6d6fd9ffe664977e4960..744d37ff1896c57c0b11dbedc8a1bd54f7ef0a0a 100644 (file)
@@ -221,11 +221,11 @@ minor mode is enabled."
            (setq semantic-highlight-edits-mode nil)
            (error "Buffer %s was not set up for parsing"
                   (buffer-name)))
-       (semantic-make-local-hook 'semantic-edits-new-change-hooks)
-       (add-hook 'semantic-edits-new-change-hooks
+       (semantic-make-local-hook 'semantic-edits-new-change-functions)
+       (add-hook 'semantic-edits-new-change-functions
                  'semantic-highlight-edits-new-change-hook-fcn nil t))
     ;; Remove hooks
-    (remove-hook 'semantic-edits-new-change-hooks
+    (remove-hook 'semantic-edits-new-change-functions
                 'semantic-highlight-edits-new-change-hook-fcn t)))
 
 (semantic-add-minor-mode 'semantic-highlight-edits-mode
@@ -460,8 +460,8 @@ minor mode is enabled."
                (append mode-line-modified
                        '(semantic-show-parser-state-string))))
        ;; Add hooks
-        (semantic-make-local-hook 'semantic-edits-new-change-hooks)
-        (add-hook 'semantic-edits-new-change-hooks
+        (semantic-make-local-hook 'semantic-edits-new-change-functions)
+        (add-hook 'semantic-edits-new-change-functions
                   'semantic-show-parser-state-marker nil t)
        (semantic-make-local-hook 'semantic-edits-incremental-reparse-failed-hook)
        (add-hook 'semantic-edits-incremental-reparse-failed-hook
@@ -491,7 +491,7 @@ minor mode is enabled."
     (setq mode-line-modified
          (delq 'semantic-show-parser-state-string mode-line-modified))
     ;; Remove hooks
-    (remove-hook 'semantic-edits-new-change-hooks
+    (remove-hook 'semantic-edits-new-change-functions
                 'semantic-show-parser-state-marker t)
     (remove-hook 'semantic-edits-incremental-reparse-failed-hook
                 'semantic-show-parser-state-marker t)