diff options
| author | Glenn Morris | 2012-11-12 19:11:46 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-11-12 19:11:46 -0800 |
| commit | 7b1bf1735e58fbadbe180d4bbbe3a00cf71baed4 (patch) | |
| tree | 915ff00197aae7f1fa4f851048b2b36d174a3d5c /lisp/cedet | |
| parent | f8705f6e3102454bf1e3213956eb3ac8160ff047 (diff) | |
| download | emacs-7b1bf1735e58fbadbe180d4bbbe3a00cf71baed4.tar.gz emacs-7b1bf1735e58fbadbe180d4bbbe3a00cf71baed4.zip | |
Use new names for hooks rather than obsolete aliases
* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
* lisp/cedet/semantic/util.el (semantic-describe-buffer):
* lisp/cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token)
(semantic-default-c-setup):
* lisp/emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
* lisp/gnus/gnus-diary.el (nndiary-request-create-group-functions)
(nndiary-request-update-info-functions)
(gnus-subscribe-newsgroup-functions)
(nndiary-request-accept-article-functions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
Use new names for hooks rather than obsolete aliases.
* lisp/arc-mode.el:
* lisp/emacs-lisp/checkdoc.el: Related comments.
* etc/NEWS: Related markup.
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/cedet/semantic/bovine/c.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/lex-spp.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/util.el | 2 |
4 files changed, 15 insertions, 7 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index 6de901848c7..56207c7ae57 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-11-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * semantic/lex-spp.el (semantic-lex-spp-lex-text-string): | ||
| 4 | * semantic/util.el (semantic-describe-buffer): | ||
| 5 | * semantic/bovine/c.el (semantic-c-parse-lexical-token) | ||
| 6 | (semantic-default-c-setup): | ||
| 7 | Use new names for hooks rather than obsolete aliases. | ||
| 8 | |||
| 1 | 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca> | 9 | 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 10 | ||
| 3 | * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): | 11 | * semantic/mru-bookmark.el (semantic-mru-bookmark-mode): |
diff --git a/lisp/cedet/semantic/bovine/c.el b/lisp/cedet/semantic/bovine/c.el index 02ad6e05d1a..a3d57108d1d 100644 --- a/lisp/cedet/semantic/bovine/c.el +++ b/lisp/cedet/semantic/bovine/c.el | |||
| @@ -931,8 +931,8 @@ the regular parser." | |||
| 931 | (setq semantic-new-buffer-fcn-was-run t) | 931 | (setq semantic-new-buffer-fcn-was-run t) |
| 932 | (semantic-lex-init) | 932 | (semantic-lex-init) |
| 933 | (semantic-clear-toplevel-cache) | 933 | (semantic-clear-toplevel-cache) |
| 934 | (remove-hook 'semantic-lex-reset-hooks 'semantic-lex-spp-reset-hook | 934 | (remove-hook 'semantic-lex-reset-functions |
| 935 | t) | 935 | 'semantic-lex-spp-reset-hook t) |
| 936 | ) | 936 | ) |
| 937 | ;; Get the macro symbol table right. | 937 | ;; Get the macro symbol table right. |
| 938 | (setq semantic-lex-spp-dynamic-macro-symbol-obarray spp-syms) | 938 | (setq semantic-lex-spp-dynamic-macro-symbol-obarray spp-syms) |
| @@ -2073,7 +2073,7 @@ actually in their parent which is not accessible.") | |||
| 2073 | ) | 2073 | ) |
| 2074 | 2074 | ||
| 2075 | (setq semantic-lex-analyzer #'semantic-c-lexer) | 2075 | (setq semantic-lex-analyzer #'semantic-c-lexer) |
| 2076 | (add-hook 'semantic-lex-reset-hooks 'semantic-lex-spp-reset-hook nil t) | 2076 | (add-hook 'semantic-lex-reset-functions 'semantic-lex-spp-reset-hook nil t) |
| 2077 | (when (eq major-mode 'c++-mode) | 2077 | (when (eq major-mode 'c++-mode) |
| 2078 | (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("__cplusplus" . ""))) | 2078 | (add-to-list 'semantic-lex-c-preprocessor-symbol-map '("__cplusplus" . ""))) |
| 2079 | ) | 2079 | ) |
diff --git a/lisp/cedet/semantic/lex-spp.el b/lisp/cedet/semantic/lex-spp.el index 406f2900563..ad366c2b94f 100644 --- a/lisp/cedet/semantic/lex-spp.el +++ b/lisp/cedet/semantic/lex-spp.el | |||
| @@ -30,7 +30,7 @@ | |||
| 30 | ;; If you use SPP in your language, be sure to specify this in your | 30 | ;; If you use SPP in your language, be sure to specify this in your |
| 31 | ;; semantic language setup function: | 31 | ;; semantic language setup function: |
| 32 | ;; | 32 | ;; |
| 33 | ;; (add-hook 'semantic-lex-reset-hooks 'semantic-lex-spp-reset-hook nil t) | 33 | ;; (add-hook 'semantic-lex-reset-functions 'semantic-lex-spp-reset-hook nil t) |
| 34 | ;; | 34 | ;; |
| 35 | ;; | 35 | ;; |
| 36 | ;; Special Lexical Tokens: | 36 | ;; Special Lexical Tokens: |
| @@ -947,8 +947,8 @@ and variable state from the current buffer." | |||
| 947 | (setq semantic-new-buffer-fcn-was-run t) | 947 | (setq semantic-new-buffer-fcn-was-run t) |
| 948 | (semantic-lex-init) | 948 | (semantic-lex-init) |
| 949 | (semantic-clear-toplevel-cache) | 949 | (semantic-clear-toplevel-cache) |
| 950 | (remove-hook 'semantic-lex-reset-hooks 'semantic-lex-spp-reset-hook | 950 | (remove-hook 'semantic-lex-reset-functions |
| 951 | t) | 951 | 'semantic-lex-spp-reset-hook t) |
| 952 | )) | 952 | )) |
| 953 | 953 | ||
| 954 | ;; Second Cheat: copy key variables regarding macro state from the | 954 | ;; Second Cheat: copy key variables regarding macro state from the |
diff --git a/lisp/cedet/semantic/util.el b/lisp/cedet/semantic/util.el index 65201c4fd12..f3d30f6af5c 100644 --- a/lisp/cedet/semantic/util.el +++ b/lisp/cedet/semantic/util.el | |||
| @@ -280,7 +280,7 @@ If TAG is not specified, use the tag at point." | |||
| 280 | semantic-parser-name | 280 | semantic-parser-name |
| 281 | semantic-parse-tree-state | 281 | semantic-parse-tree-state |
| 282 | semantic-lex-analyzer | 282 | semantic-lex-analyzer |
| 283 | semantic-lex-reset-hooks | 283 | semantic-lex-reset-functions |
| 284 | semantic-lex-syntax-modifications | 284 | semantic-lex-syntax-modifications |
| 285 | ))) | 285 | ))) |
| 286 | (dolist (V vars) | 286 | (dolist (V vars) |