gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sudoku.el -- puzzle game, can download puzzles on the fly.


From: lg
Subject: Re: sudoku.el -- puzzle game, can download puzzles on the fly.
Date: 14 Nov 2005 22:50:13 -0800
User-agent: G2/0.2

For (S)XEmacsen sudokuers here is `undo-copy-list' grabbed from
http://www.emacswiki.org/cgi-bin/wiki/selective-undo-xmas.el:

    (defun undo-copy-list (list)
      "Make a copy of undo list LIST. "
      (mapcar 'undo-copy-list-1 list))

    (defun undo-copy-list-1 (elt)
      (if (consp elt)
          (cons (car elt) (undo-copy-list-1 (cdr elt)))
        elt))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]