diff options
| author | Chong Yidong | 2009-09-26 18:03:54 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-09-26 18:03:54 +0000 |
| commit | 1ac9ebc8590c7de5ccd854f6d20bdcc1fe6e296b (patch) | |
| tree | 1bd1e302b3afe1afc9b0db626526104aacba35db | |
| parent | 29e1a603c0d7fa1e4e2c116cbaab90d0401f898b (diff) | |
| download | emacs-1ac9ebc8590c7de5ccd854f6d20bdcc1fe6e296b.tar.gz emacs-1ac9ebc8590c7de5ccd854f6d20bdcc1fe6e296b.zip | |
Fix last change to use semantic-varalias-obsolete.
| -rw-r--r-- | lisp/cedet/semantic.el | 12 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-file.el | 7 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-mode.el | 7 | ||||
| -rw-r--r-- | lisp/cedet/semantic/decorate/mode.el | 7 | ||||
| -rw-r--r-- | lisp/cedet/semantic/idle.el | 17 |
5 files changed, 21 insertions, 29 deletions
diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 1ab342f7676..9848d5d7965 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el | |||
| @@ -269,12 +269,12 @@ This hook is for database functions which intend to swap in a tag table. | |||
| 269 | This guarantees that the DB will go before other modes that require | 269 | This guarantees that the DB will go before other modes that require |
| 270 | a parse of the buffer.") | 270 | a parse of the buffer.") |
| 271 | 271 | ||
| 272 | (define-obsolete-variable-alias 'semantic-init-hooks | 272 | (semantic-varalias-obsolete 'semantic-init-hooks |
| 273 | 'semantic-init-hook "23.2") | 273 | 'semantic-init-hook) |
| 274 | (define-obsolete-variable-alias 'semantic-init-mode-hooks | 274 | (semantic-varalias-obsolete 'semantic-init-mode-hooks |
| 275 | 'semantic-init-mode-hook "23.2") | 275 | 'semantic-init-mode-hook) |
| 276 | (define-obsolete-variable-alias 'semantic-init-db-hooks | 276 | (semantic-varalias-obsolete 'semantic-init-db-hooks |
| 277 | 'semantic-init-db-hook "23.2") | 277 | 'semantic-init-db-hook) |
| 278 | 278 | ||
| 279 | (defvar semantic-new-buffer-fcn-was-run nil | 279 | (defvar semantic-new-buffer-fcn-was-run nil |
| 280 | "Non nil after `semantic-new-buffer-fcn' has been executed.") | 280 | "Non nil after `semantic-new-buffer-fcn' has been executed.") |
diff --git a/lisp/cedet/semantic/db-file.el b/lisp/cedet/semantic/db-file.el index 3873d0abcab..85f84167c06 100644 --- a/lisp/cedet/semantic/db-file.el +++ b/lisp/cedet/semantic/db-file.el | |||
| @@ -69,15 +69,14 @@ passes a list of predicates in `semanticdb-project-predicate-functions'." | |||
| 69 | :type nil) | 69 | :type nil) |
| 70 | 70 | ||
| 71 | (defcustom semanticdb-save-database-hook nil | 71 | (defcustom semanticdb-save-database-hook nil |
| 72 | "Normal hook run after a database is saved. | 72 | "Hook run after a database is saved. |
| 73 | Each function is called with one argument, the object representing | 73 | Each function is called with one argument, the object representing |
| 74 | the database recently written." | 74 | the database recently written." |
| 75 | :group 'semanticdb | 75 | :group 'semanticdb |
| 76 | :type 'hook) | 76 | :type 'hook) |
| 77 | 77 | ||
| 78 | (define-obsolete-variable-alias | 78 | (semantic-varalias-obsolete 'semanticdb-save-database-hooks |
| 79 | 'semanticdb-save-database-hooks | 79 | 'semanticdb-save-database-hook) |
| 80 | 'semanticdb-save-database-hook "23.2") | ||
| 81 | 80 | ||
| 82 | (defvar semanticdb-dir-sep-char (if (boundp 'directory-sep-char) | 81 | (defvar semanticdb-dir-sep-char (if (boundp 'directory-sep-char) |
| 83 | (symbol-value 'directory-sep-char) | 82 | (symbol-value 'directory-sep-char) |
diff --git a/lisp/cedet/semantic/db-mode.el b/lisp/cedet/semantic/db-mode.el index f33afbb40c7..697a87dac13 100644 --- a/lisp/cedet/semantic/db-mode.el +++ b/lisp/cedet/semantic/db-mode.el | |||
| @@ -48,15 +48,14 @@ | |||
| 48 | (custom-set-default sym val))) | 48 | (custom-set-default sym val))) |
| 49 | 49 | ||
| 50 | (defcustom semanticdb-mode-hook nil | 50 | (defcustom semanticdb-mode-hook nil |
| 51 | "Normal hook run whenever `global-semanticdb-minor-mode' is run. | 51 | "Hook run whenever `global-semanticdb-minor-mode' is run. |
| 52 | Use `semanticdb-minor-mode-p' to determine if the mode has been turned | 52 | Use `semanticdb-minor-mode-p' to determine if the mode has been turned |
| 53 | on or off." | 53 | on or off." |
| 54 | :group 'semanticdb | 54 | :group 'semanticdb |
| 55 | :type 'hook) | 55 | :type 'hook) |
| 56 | 56 | ||
| 57 | (define-obsolete-variable-alias | 57 | (semantic-varalias-obsolete 'semanticdb-mode-hooks |
| 58 | 'semanticdb-mode-hooks | 58 | 'semanticdb-mode-hook) |
| 59 | 'semanticdb-mode-hook "23.2") | ||
| 60 | 59 | ||
| 61 | ;;; Start/Stop database use | 60 | ;;; Start/Stop database use |
| 62 | ;; | 61 | ;; |
diff --git a/lisp/cedet/semantic/decorate/mode.el b/lisp/cedet/semantic/decorate/mode.el index b0a1c12fa79..3ee2664d7bc 100644 --- a/lisp/cedet/semantic/decorate/mode.el +++ b/lisp/cedet/semantic/decorate/mode.el | |||
| @@ -195,11 +195,10 @@ Also make sure old decorations in the area are completely flushed." | |||
| 195 | ;; that the next idle step will do the decoration change, but at the | 195 | ;; that the next idle step will do the decoration change, but at the |
| 196 | ;; time of the state change, minimal work would be done. | 196 | ;; time of the state change, minimal work would be done. |
| 197 | (defvar semantic-decorate-pending-decoration-hook nil | 197 | (defvar semantic-decorate-pending-decoration-hook nil |
| 198 | "Functions to call with pending decoration changes.") | 198 | "Normal hook run to perform pending decoration changes.") |
| 199 | 199 | ||
| 200 | (define-obsolete-variable-alias | 200 | (semantic-varalias-obsolete 'semantic-decorate-pending-decoration-hooks |
| 201 | 'semantic-decorate-pending-decoration-hooks | 201 | 'semantic-decorate-pending-decoration-hook) |
| 202 | 'semantic-decorate-pending-decoration-hook "23.2") | ||
| 203 | 202 | ||
| 204 | (defun semantic-decorate-add-pending-decoration (fcn &optional buffer) | 203 | (defun semantic-decorate-add-pending-decoration (fcn &optional buffer) |
| 205 | "Add a pending decoration change represented by FCN. | 204 | "Add a pending decoration change represented by FCN. |
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el index f220fcbb8d9..52d696af4c4 100644 --- a/lisp/cedet/semantic/idle.el +++ b/lisp/cedet/semantic/idle.el | |||
| @@ -501,24 +501,19 @@ datasets." | |||
| 501 | ;; :type 'boolean) | 501 | ;; :type 'boolean) |
| 502 | 502 | ||
| 503 | (defvar semantic-before-idle-scheduler-reparse-hook nil | 503 | (defvar semantic-before-idle-scheduler-reparse-hook nil |
| 504 | "Normal hook run before option `semantic-idle-scheduler' begins parsing. | 504 | "Hook run before option `semantic-idle-scheduler' begins parsing. |
| 505 | If any hook function throws an error, this variable is reset to nil. | 505 | If any hook function throws an error, this variable is reset to nil. |
| 506 | This hook is not protected from lexical errors.") | 506 | This hook is not protected from lexical errors.") |
| 507 | 507 | ||
| 508 | (define-obsolete-variable-alias | ||
| 509 | 'semantic-before-idle-scheduler-reparse-hooks | ||
| 510 | 'semantic-before-idle-scheduler-reparse-hook | ||
| 511 | "23.2") | ||
| 512 | |||
| 513 | (defvar semantic-after-idle-scheduler-reparse-hook nil | 508 | (defvar semantic-after-idle-scheduler-reparse-hook nil |
| 514 | "Normal hook run after option `semantic-idle-scheduler' has parsed. | 509 | "Hook run after option `semantic-idle-scheduler' has parsed. |
| 515 | If any hook function throws an error, this variable is reset to nil. | 510 | If any hook function throws an error, this variable is reset to nil. |
| 516 | This hook is not protected from lexical errors.") | 511 | This hook is not protected from lexical errors.") |
| 517 | 512 | ||
| 518 | (define-obsolete-variable-alias | 513 | (semantic-varalias-obsolete 'semantic-before-idle-scheduler-reparse-hooks |
| 519 | 'semantic-after-idle-scheduler-reparse-hooks | 514 | 'semantic-before-idle-scheduler-reparse-hook) |
| 520 | 'semantic-after-idle-scheduler-reparse-hook | 515 | (semantic-varalias-obsolete 'semantic-after-idle-scheduler-reparse-hooks |
| 521 | "23.2") | 516 | 'semantic-after-idle-scheduler-reparse-hook) |
| 522 | 517 | ||
| 523 | (defun semantic-idle-scheduler-refresh-tags () | 518 | (defun semantic-idle-scheduler-refresh-tags () |
| 524 | "Refreshes the current buffer's tags. | 519 | "Refreshes the current buffer's tags. |