Function: reftex-typekey-check

reftex-typekey-check is a byte-compiled function defined in reftex.el.gz.

Signature

(reftex-typekey-check TYPEKEY CONF-VARIABLE &optional N)

Documentation

Check if CONF-VARIABLE is true or contains TYPEKEY.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/reftex.el.gz
;;; =========================================================================
;;;
;;; Some generally useful functions

(defun reftex-typekey-check (typekey conf-variable &optional n)
  "Check if CONF-VARIABLE is true or contains TYPEKEY."
  (and n (setq conf-variable (nth n conf-variable)))
  (or (eq conf-variable t)
      (and (stringp conf-variable)
           (let ((case-fold-search nil))
             (string-match (concat "[" conf-variable "]") typekey)))))