* desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
* play/solitaire.el (solitaire-solve): Err out if the solitaire
is already in progress.
+2008-08-12 Juanma Barranquero <lekktu@gmail.com>
+
+ * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
+
+ * play/solitaire.el (solitaire-solve): Err out if the solitaire
+ is already in progress.
+
2008-08-12 NAKAGAWA Makoto <gha03025@nifty.ne.jp> (tiny change)
* net/ldap.el (ldap-search-internal): Tweak URL regexp.
(defcustom desktop-minor-mode-table
'((auto-fill-function auto-fill-mode)
(vc-mode nil)
- (vc-dired-mode nil))
+ (vc-dired-mode nil)
+ (savehist-mode nil))
"Table mapping minor mode variables to minor mode functions.
Each entry has the form (NAME RESTORE-FUNCTION).
NAME is the name of the buffer-local variable indicating that the minor
"Spoil solitaire by solving the game for you - nearly ...
... stops with five stones left ;)"
(interactive)
+ (when (< solitaire-stones 32)
+ (error "Cannot solve game in progress"))
(let ((allmoves [up up S-down up left left S-right up up left S-down
up up right right S-left down down down S-up up
S-down down down down S-up left left down