Function: ses-printer-validate

ses-printer-validate is a byte-compiled function defined in ses.el.gz.

Signature

(ses-printer-validate PRINTER)

Documentation

Signal an error if PRINTER is not a valid SES cell printer.

Source Code

;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defun ses-printer-validate (printer)
  "Signal an error if PRINTER is not a valid SES cell printer."
  (or (not printer)
      (stringp printer)
      ;; printer is a local printer
      (and (symbolp printer) (gethash printer ses--local-printer-hashmap))
      (functionp printer)
      (and (stringp (car-safe printer)) (not (cdr printer)))
      (error "Invalid printer function %S" printer))
  printer)