diff options
| author | Stefan Monnier | 2010-05-02 01:06:53 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-05-02 01:06:53 -0400 |
| commit | 672eb71041ab30c82e9c17dfc8dfd7dec96f6169 (patch) | |
| tree | c1d9e7cf3ff1d9c36299b290b2b34e04c3d43778 /lisp/ChangeLog | |
| parent | cb7f3653c838dd1ce01d80e725b4679b79bba256 (diff) | |
| download | emacs-672eb71041ab30c82e9c17dfc8dfd7dec96f6169.tar.gz emacs-672eb71041ab30c82e9c17dfc8dfd7dec96f6169.zip | |
Use a mode-line spec rather than a static string in Semantic.
* cedet/semantic/util-modes.el:
(semantic-minor-modes-format): New var to replace...
(semantic-minor-modes-status): Remove.
(semantic-mode-line-update): Construct a mode-line spec rather than
a static string so that mouse buttons can be used on individual minor
modes and so that semantic-mode-line-update only needs to be called
when global settings are changed.
(semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
Call semantic-mode-line-update.
(semantic-toggle-minor-mode-globally): Don't assume mode is on
minor-mode-alist, check semantic-minor-mode-alist as well.
(semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
(semantic-show-parser-state-marker, semantic-show-parser-state-mode)
(semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
* cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
* cedet/semantic/idle.el (semantic-idle-scheduler-mode)
(define-semantic-idle-service, semantic-idle-summary-mode):
* cedet/semantic/decorate/mode.el (semantic-decoration-mode):
Don't call semantic-mode-line-update any more.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3ffd1345472..86b73ddd292 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,28 @@ | |||
| 1 | 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | Use a mode-line spec rather than a static string in Semantic. | ||
| 4 | * cedet/semantic/util-modes.el: | ||
| 5 | (semantic-minor-modes-format): New var to replace... | ||
| 6 | (semantic-minor-modes-status): Remove. | ||
| 7 | (semantic-mode-line-update): Construct a mode-line spec rather than | ||
| 8 | a static string so that mouse buttons can be used on individual minor | ||
| 9 | modes and so that semantic-mode-line-update only needs to be called | ||
| 10 | when global settings are changed. | ||
| 11 | (semantic-add-minor-mode, semantic-toggle-minor-mode-globally): | ||
| 12 | Call semantic-mode-line-update. | ||
| 13 | (semantic-toggle-minor-mode-globally): Don't assume mode is on | ||
| 14 | minor-mode-alist, check semantic-minor-mode-alist as well. | ||
| 15 | (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker) | ||
| 16 | (semantic-show-parser-state-marker, semantic-show-parser-state-mode) | ||
| 17 | (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode): | ||
| 18 | * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode): | ||
| 19 | * cedet/semantic/idle.el (semantic-idle-scheduler-mode) | ||
| 20 | (define-semantic-idle-service, semantic-idle-summary-mode): | ||
| 21 | * cedet/semantic/decorate/mode.el (semantic-decoration-mode): | ||
| 22 | Don't call semantic-mode-line-update any more. | ||
| 23 | |||
| 24 | 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 25 | |||
| 3 | Use define-minor-mode in CEDET where applicable. | 26 | Use define-minor-mode in CEDET where applicable. |
| 4 | 27 | ||
| 5 | * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): | 28 | * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): |