Function: he-string-member

he-string-member is a byte-compiled function defined in hippie-exp.el.gz.

Signature

(he-string-member STR LST &optional TRANS-CASE)

Source Code

;; Defined in /usr/src/emacs/lisp/hippie-exp.el.gz
;; Check if STR is a member of LST.
;; Transform to the final case if optional TRANS-CASE is non-nil.
(defun he-string-member (str lst &optional trans-case)
  (if str
      (member (if (and trans-case
		       case-replace
		       case-fold-search)
		  (he-transfer-case he-search-string str)
		str)
	      lst)))