Function: format-annotate-value

format-annotate-value is a byte-compiled function defined in format.el.gz.

Signature

(format-annotate-value OLD NEW)

Documentation

Return OLD and NEW as a (CLOSE . OPEN) annotation pair.

Useful as a default function for TRANSLATIONS alist when the value of the text property is the name of the annotation that you want to use, as it is for the unknown text property.

Source Code

;; Defined in /usr/src/emacs/lisp/format.el.gz
(defun format-annotate-value (old new)
  "Return OLD and NEW as a (CLOSE . OPEN) annotation pair.
Useful as a default function for TRANSLATIONS alist when the value of the text
property is the name of the annotation that you want to use, as it is for the
`unknown' text property."
  (cons (if old (list old))
	(if new (list new))))