Mercurial > emacs
comparison lisp/ChangeLog @ 108210:5143700578d0
Use define-minor-mode in CEDET where applicable.
* cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
Use define-minor-mode.
* cedet/semantic/util-modes.el (semantic-add-minor-mode):
Remove unused arg `keymap' and code redundant with define-minor-mode.
(semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
(semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
(semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
(global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
(semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
(global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
Use define-minor-mode.
(semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
(semantic-show-unmatched-syntax-mode-setup)
(semantic-show-parser-state-mode-setup)
(semantic-highlight-func-mode-setup): Inline into sole caller.
* cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
(semantic-mru-bookmark-mode): Use define-minor-mode.
(semantic-mru-bookmark-mode-setup): Inline into sole caller.
* cedet/semantic/idle.el (define-semantic-idle-service):
Use define-minor-mode and inline setup function into its sole caller.
(semantic-idle-scheduler-mode-setup)
(semantic-idle-summary-mode-setup): Inline into sole caller.
(global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
Use define-minor-mode.
* cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
(semantic-decoration-mode): Use define-minor-mode.
(semantic-decoration-mode-setup): Inline into sole caller.
* cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
(ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
(ede-dired-add-to-target): Use dolist.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 01 May 2010 23:38:19 -0400 |
parents | 3287df4f3442 |
children | 73a1ddc06d0e |
comparison
equal
deleted
inserted
replaced
108209:b757d9aee37e | 108210:5143700578d0 |
---|---|
1 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca> | |
2 | |
3 Use define-minor-mode in CEDET where applicable. | |
4 | |
5 * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode): | |
6 Use define-minor-mode. | |
7 | |
8 * cedet/semantic/util-modes.el (semantic-add-minor-mode): | |
9 Remove unused arg `keymap' and code redundant with define-minor-mode. | |
10 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1. | |
11 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode) | |
12 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode) | |
13 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode) | |
14 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode) | |
15 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode): | |
16 Use define-minor-mode. | |
17 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup) | |
18 (semantic-show-unmatched-syntax-mode-setup) | |
19 (semantic-show-parser-state-mode-setup) | |
20 (semantic-highlight-func-mode-setup): Inline into sole caller. | |
21 | |
22 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode) | |
23 (semantic-mru-bookmark-mode): Use define-minor-mode. | |
24 (semantic-mru-bookmark-mode-setup): Inline into sole caller. | |
25 | |
26 * cedet/semantic/idle.el (define-semantic-idle-service): | |
27 Use define-minor-mode and inline setup function into its sole caller. | |
28 (semantic-idle-scheduler-mode-setup) | |
29 (semantic-idle-summary-mode-setup): Inline into sole caller. | |
30 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode): | |
31 Use define-minor-mode. | |
32 | |
33 * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode) | |
34 (semantic-decoration-mode): Use define-minor-mode. | |
35 (semantic-decoration-mode-setup): Inline into sole caller. | |
36 | |
37 * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration. | |
38 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p. | |
39 (ede-dired-add-to-target): Use dolist. | |
40 | |
1 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com> | 41 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com> |
2 Michael Albinus <michael.albinus@gmx.de> | 42 Michael Albinus <michael.albinus@gmx.de> |
3 | 43 |
4 Implement compression for inline methods. | 44 Implement compression for inline methods. |
5 | 45 |
6 * net/tramp.el (tramp-inline-compress-start-size): New defcustom. | 46 * net/tramp.el (tramp-inline-compress-start-size): New defcustom. |
7 (tramp-copy-size-limit): Allow also nil. | 47 (tramp-copy-size-limit): Allow also nil. |
8 (tramp-inline-compress-commands): New defconst. | 48 (tramp-inline-compress-commands): New defconst. |
9 (tramp-find-inline-compress, tramp-get-inline-compress) | 49 (tramp-find-inline-compress, tramp-get-inline-compress) |
10 (tramp-get-inline-coding): New defuns. | 50 (tramp-get-inline-coding): New defuns. |
11 (tramp-get-remote-coding, tramp-get-local-coding): Removed, | 51 (tramp-get-remote-coding, tramp-get-local-coding): Remove, |
12 replaced by `tramp-get-inline-coding'. | 52 replace by `tramp-get-inline-coding'. |
13 (tramp-handle-file-local-copy, tramp-handle-write-region) | 53 (tramp-handle-file-local-copy, tramp-handle-write-region) |
14 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'. | 54 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'. |
15 | 55 |
16 2010-05-01 Chong Yidong <cyd@stupidchicken.com> | 56 2010-05-01 Chong Yidong <cyd@stupidchicken.com> |
17 | 57 |
39 Remove left over interactive spec. Add autoloading stub. | 79 Remove left over interactive spec. Add autoloading stub. |
40 (complete-tag): Use tags-completion-at-point-function. | 80 (complete-tag): Use tags-completion-at-point-function. |
41 | 81 |
42 2010-04-30 Chong Yidong <cyd@stupidchicken.com> | 82 2010-04-30 Chong Yidong <cyd@stupidchicken.com> |
43 | 83 |
44 * minibuffer.el (tags-completion-at-point-function): Fix return | 84 * minibuffer.el (tags-completion-at-point-function): Fix return value. |
45 value. | |
46 | 85 |
47 2010-04-30 Eli Zaretskii <eliz@gnu.org> | 86 2010-04-30 Eli Zaretskii <eliz@gnu.org> |
48 | 87 |
49 * composite.el (compose-region, reference-point-alist): Fix typos | 88 * composite.el (compose-region, reference-point-alist): Fix typos |
50 in the doc strings. | 89 in the doc strings. |