Mercurial > emacs
diff lisp/progmodes/cc-langs.el @ 106160:b27aeda9c1fd
2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
* progmodes/cc-cmds.el (c-update-modeline)
(c-forward-into-nomenclature, c-backward-into-nomenclature): Refer
to subword.el functions instead of cc-subword.el.
* progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
subword.el functions instead of cc-subword.el.
* progmodes/cc-subword.el: Renamed to subword.el.
* subword.el: Renamed from progmodes/cc-subword.el.
(subword-mode-map): Renamed from c-subword-mode-map.
(subword-mode): Renamed from c-subword-mode.
(global-subword-mode): New global minor mode.
(forward-subword): Renamed from c-forward-subword.
(backward-subword): Renamed from c-backward-subword.
(mark-subword): Renamed from c-mark-subword.
(kill-subword): Renamed from c-kill-subword.
(backward-kill-subword): Renamed from c-backward-kill-subword.
(transpose-subwords): Renamed from c-tranpose-subword.
(downcase-subword): Renamed from c-downcase-subword.
(capitalize-subword): Renamed from c-capitalize-subword.
(forward-subword-internal): Renamed from
c-forward-subword-internal.
(backward-subword-internal): Renamed from
c-backward-subword-internal.
author | Tassilo Horn <tassilo@member.fsf.org> |
---|---|
date | Fri, 20 Nov 2009 08:22:32 +0000 |
parents | 60cf2b54da00 |
children | f2b36fb84bf7 |
line wrap: on
line diff
--- a/lisp/progmodes/cc-langs.el Fri Nov 20 06:56:16 2009 +0000 +++ b/lisp/progmodes/cc-langs.el Fri Nov 20 08:22:32 2009 +0000 @@ -306,9 +306,9 @@ :style toggle :selected c-auto-newline] ["Hungry delete" c-toggle-hungry-state :style toggle :selected c-hungry-delete-key] - ["Subword mode" c-subword-mode - :style toggle :selected (and (boundp 'c-subword-mode) - c-subword-mode)]))) + ["Subword mode" subword-mode + :style toggle :selected (and (boundp 'subword-mode) + subword-mode)]))) ;;; Syntax tables.