aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2010-05-01 23:38:19 -0400
committerStefan Monnier2010-05-01 23:38:19 -0400
commitcb7f3653c838dd1ce01d80e725b4679b79bba256 (patch)
treea2f1adb1602ce93b783b452ed03491f18cf3bbe2 /lisp/ChangeLog
parenta5a1e2ef820c01bec5a35e0fa5bac7a46894c9e7 (diff)
downloademacs-cb7f3653c838dd1ce01d80e725b4679b79bba256.tar.gz
emacs-cb7f3653c838dd1ce01d80e725b4679b79bba256.zip
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.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog47
1 files changed, 43 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 170d22a106b..3ffd1345472 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,43 @@
12010-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
12010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com> 412010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2 Michael Albinus <michael.albinus@gmx.de> 42 Michael Albinus <michael.albinus@gmx.de>
3 43
@@ -8,8 +48,8 @@
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
@@ -41,8 +81,7 @@
41 81
422010-04-30 Chong Yidong <cyd@stupidchicken.com> 822010-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
472010-04-30 Eli Zaretskii <eliz@gnu.org> 862010-04-30 Eli Zaretskii <eliz@gnu.org>
48 87