Function: pp--quoted-or-unquoted-form-p

pp--quoted-or-unquoted-form-p is a byte-compiled function defined in pp.el.gz.

Signature

(pp--quoted-or-unquoted-form-p CONS)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/pp.el.gz
(defun pp--quoted-or-unquoted-form-p (cons)
  ;; Return non-nil when CONS has one of the forms 'X, `X, ,X or ,@X
  (let ((head (car cons)))
    (and (symbolp head)
         (assq head pp--quoting-syntaxes)
         (let ((rest (cdr cons)))
           (and (consp rest) (null (cdr rest)))))))