Function: byte-compile--check-prefixed-var

byte-compile--check-prefixed-var is a byte-compiled function defined in bytecomp.el.gz.

Signature

(byte-compile--check-prefixed-var SYM)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
(defun byte-compile--check-prefixed-var (sym)
  (when (and (symbolp sym)
             (not (string-match "[-*/:$]" (symbol-name sym)))
             (byte-compile-warning-enabled-p 'lexical sym))
    (byte-compile-warn-x
     sym "global/dynamic var `%s' lacks a prefix" sym)))