Function: bubbles-undo
bubbles-undo is an interactive and byte-compiled function defined in
bubbles.el.gz.
Signature
(bubbles-undo)
Documentation
Undo last move.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/play/bubbles.el.gz
(defun bubbles-undo ()
"Undo last move."
(interactive nil bubbles-mode)
(when bubbles--save-data
(let ((inhibit-read-only t)
(pos (point)))
(erase-buffer)
(insert (cadr bubbles--save-data))
(bubbles--update-faces-or-images)
(setq bubbles--score (car bubbles--save-data))
(goto-char pos))
(setq buffer-undo-list t)
(force-mode-line-update)
(redisplay)))