Function: make-multisession

make-multisession is a byte-compiled function defined in multisession.el.gz.

Signature

(make-multisession &key KEY INITIAL-VALUE PACKAGE SYNCHRONIZED STORAGE)

Documentation

Create a multisession object.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/multisession.el.gz
(cl-defun make-multisession (&key key initial-value package synchronized
                                  storage)
  "Create a multisession object."
  (unless package
    (error "No package for the multisession object"))
  (unless key
    (error "No key for the multisession object"))
  (unless (stringp package)
    (error "The package has to be a string"))
  (unless (stringp key)
    (error "The key has to be a string"))
  (multisession--create
   :key key
   :synchronized synchronized
   :initial-value initial-value
   :package package
   :storage (or storage multisession-storage)))