Function: bad-package-check
bad-package-check is a byte-compiled function defined in simple.el.gz.
This function is obsolete since 29.1.
Signature
(bad-package-check PACKAGE)
Documentation
Run a check using the element from bad-packages-alist matching PACKAGE.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun bad-package-check (package)
"Run a check using the element from `bad-packages-alist' matching PACKAGE."
(declare (obsolete nil "29.1"))
(condition-case nil
(let* ((list (assoc package bad-packages-alist))
(symbol (nth 1 list)))
(and list
(boundp symbol)
(or (eq symbol t)
(and (stringp (setq symbol (symbol-value symbol)))
(string-match-p (nth 2 list) symbol)))
(display-warning package (nth 3 list) :warning)))
(error nil)))