1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
emacs/lisp/cedet/ede
Stefan Monnier cb7f3653c8 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.
2010-05-01 23:38:19 -04:00
..
autoconf-edit.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
cpp-root.el Mario Lang <mlang@delysid.org>: Remove some duplicated words. 2010-01-15 18:51:50 -08:00
dired.el Use define-minor-mode in CEDET where applicable. 2010-05-01 23:38:19 -04:00
emacs.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
files.el Mario Lang <mlang@delysid.org>: Remove some duplicated words. 2010-01-15 18:51:50 -08:00
linux.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
locate.el Fix typos in docstrings, error messages, etc. 2010-01-18 05:39:40 +01:00
make.el Fix more save-excursion warnings. 2010-02-27 20:22:44 -05:00
makefile-edit.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
pconf.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
pmake.el Bugfix for ede-proj-makefile-insert-variables. 2010-04-18 17:40:10 -04:00
proj-archive.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-aux.el Fix typos in comments. 2010-01-17 03:24:22 +01:00
proj-comp.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-elisp.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-info.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-misc.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-obj.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-prog.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-scheme.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj-shared.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
proj.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
project-am.el * cedet/ede/project-am.el (ede-shell-run-something): Declare. 2010-03-23 20:53:32 -07:00
shell.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
simple.el Mario Lang <mlang@delysid.org>: Remove some duplicated words. 2010-01-15 18:51:50 -08:00
source.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
speedbar.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
srecode.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
system.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
util.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00