Function: subword-upcase
subword-upcase is an interactive and byte-compiled function defined in
subword.el.gz.
Signature
(subword-upcase ARG)
Documentation
Do the same as upcase-word but on subwords.
See the command subword-mode(var)/subword-mode(fun) for a description of subwords.
Optional argument ARG is the same as for upcase-word.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/subword.el.gz
(defun subword-upcase (arg)
"Do the same as `upcase-word' but on subwords.
See the command `subword-mode' for a description of subwords.
Optional argument ARG is the same as for `upcase-word'."
(interactive "p")
(let ((start (point)))
(upcase-region (point) (subword-forward arg))
(when (< arg 0)
(goto-char start))))