Function: anot-head-p

anot-head-p is a byte-compiled function defined in assoc.el.gz.

Signature

(anot-head-p ALIST KEY)

Documentation

Find out if a specified key-value pair is not at the head of an alist.

The alist to check is specified by ALIST and the key-value pair is the one matching the supplied KEY. Returns nil if ALIST is nil, or if key-value pair is at the head of the alist. Returns t if key-value pair is not at the head of alist. ALIST is not altered.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/assoc.el.gz
(defun anot-head-p (alist key)
  "Find out if a specified key-value pair is not at the head of an alist.
The alist to check is specified by ALIST and the key-value pair is the
one matching the supplied KEY.  Returns nil if ALIST is nil, or if
key-value pair is at the head of the alist.  Returns t if key-value
pair is not at the head of alist.  ALIST is not altered."
  (not (equal (aheadsym alist) key)))