Function: cmpl-coerce-string-case

cmpl-coerce-string-case is a byte-compiled function defined in completion.el.gz.

Signature

(cmpl-coerce-string-case STRING CASE-TYPE)

Source Code

;; Defined in /usr/src/emacs/lisp/completion.el.gz
(defun cmpl-coerce-string-case (string case-type)
  (cond ((eq case-type :down) (downcase string))
	((eq case-type :up) (upcase string))
	((eq case-type :capitalized) (capitalize string))
	(t string)))