Function: dictionary-store-state
dictionary-store-state is a byte-compiled function defined in
dictionary.el.gz.
Signature
(dictionary-store-state FUNCTION DATA)
Documentation
Store the current state of operation for later restore.
The current state consist of a tuple of FUNCTION and DATA. This is basically an implementation of a history to return to a previous state.
Source Code
;; Defined in /usr/src/emacs/lisp/net/dictionary.el.gz
;; Store the current state
(defun dictionary-store-state (function data)
"Store the current state of operation for later restore.
The current state consist of a tuple of FUNCTION and DATA.
This is basically an implementation of a history to return to a
previous state."
(if dictionary-current-data
(progn
(push dictionary-current-data dictionary-data-stack)
(unless dictionary-positions
(error "dictionary-store-state called before dictionary-store-positions"))
(push dictionary-positions dictionary-position-stack)))
(setq dictionary-current-data
(cons function data)))