Function: ses-define-if-new-local-printer

ses-define-if-new-local-printer is a byte-compiled function defined in ses.el.gz.

Signature

(ses-define-if-new-local-printer NAME DEF)

Documentation

Same as function ses-define-if-new-local-printer, except that the definition occurs only when the local printer does not already exists.

Function ses-define-if-new-local-printer is not interactive; it is intended for mode hooks to add local printers automatically.

Source Code

;; Defined in /usr/src/emacs/lisp/ses.el.gz
(defsubst ses-define-if-new-local-printer (name def)
  "Same as function `ses-define-if-new-local-printer', except
that the definition occurs only when the local printer does not
already exists.

Function `ses-define-if-new-local-printer' is not interactive; it
is intended for mode hooks to add local printers automatically."
  (unless  (gethash name ses--local-printer-hashmap)
    (ses-define-local-printer name def)))