diff options
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/semantic/db-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/cedet/semantic/db-mode.el b/lisp/cedet/semantic/db-mode.el index 8a136132b7e..e6a2340b8c2 100644 --- a/lisp/cedet/semantic/db-mode.el +++ b/lisp/cedet/semantic/db-mode.el | |||
| @@ -50,6 +50,9 @@ | |||
| 50 | (member (car (car semanticdb-hooks)) | 50 | (member (car (car semanticdb-hooks)) |
| 51 | (symbol-value (car (cdr (car semanticdb-hooks)))))) | 51 | (symbol-value (car (cdr (car semanticdb-hooks)))))) |
| 52 | 52 | ||
| 53 | (defvaralias 'semanticdb-mode-hook 'global-semanticdb-minor-mode-hook) | ||
| 54 | (defvaralias 'semanticdb-global-mode 'global-semanticdb-minor-mode) | ||
| 55 | |||
| 53 | ;;;###autoload | 56 | ;;;###autoload |
| 54 | (define-minor-mode global-semanticdb-minor-mode | 57 | (define-minor-mode global-semanticdb-minor-mode |
| 55 | "Toggle Semantic DB mode. | 58 | "Toggle Semantic DB mode. |
| @@ -67,8 +70,6 @@ database, which can be saved for future Emacs sessions." | |||
| 67 | (dolist (elt semanticdb-hooks) | 70 | (dolist (elt semanticdb-hooks) |
| 68 | (remove-hook (cadr elt) (car elt))))) | 71 | (remove-hook (cadr elt) (car elt))))) |
| 69 | 72 | ||
| 70 | (defvaralias 'semanticdb-mode-hook 'global-semanticdb-minor-mode-hook) | ||
| 71 | (defvaralias 'semanticdb-global-mode 'global-semanticdb-minor-mode) | ||
| 72 | (semantic-varalias-obsolete 'semanticdb-mode-hooks | 73 | (semantic-varalias-obsolete 'semanticdb-mode-hooks |
| 73 | 'global-semanticdb-minor-mode-hook "23.2") | 74 | 'global-semanticdb-minor-mode-hook "23.2") |
| 74 | 75 | ||