Function: tempo-save-named

tempo-save-named is a byte-compiled function defined in tempo.el.gz.

Signature

(tempo-save-named NAME DATA)

Documentation

Save some data for later insertion.

The contents of DATA is saved under the name NAME.

The data can later be retrieved with tempo-lookup-named.

This function returns nil, so it can be used in a template without inserting anything.

Source Code

;; Defined in /usr/src/emacs/lisp/tempo.el.gz
;;;
;;; tempo-save-named

(defun tempo-save-named (name data)	; Had an optional prompt for 'v
  "Save some data for later insertion.
The contents of DATA is saved under the name NAME.

The data can later be retrieved with `tempo-lookup-named'.

This function returns nil, so it can be used in a template without
inserting anything."
  (setq tempo-named-insertions
	(cons (cons name data)
	      tempo-named-insertions))
  nil)