aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-08-12 22:23:30 +0000
committerJuanma Barranquero2008-08-12 22:23:30 +0000
commit5ef52f40c528f519687623bea400ab0dd00e6422 (patch)
tree62114e02623344b50cb928c919159838d4ebde4f
parentd35a5141a520f29b29ba5e5e7f1f2e339a719b5d (diff)
downloademacs-5ef52f40c528f519687623bea400ab0dd00e6422.tar.gz
emacs-5ef52f40c528f519687623bea400ab0dd00e6422.zip
Backport trivial fixes from the trunk.
* desktop.el (desktop-minor-mode-table): Add `savehist-mode'. * play/solitaire.el (solitaire-solve): Err out if the solitaire is already in progress.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/desktop.el3
-rw-r--r--lisp/play/solitaire.el2
3 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 41d2b1902a3..8e4f7bb0f21 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12008-08-12 Juanma Barranquero <lekktu@gmail.com>
2
3 * desktop.el (desktop-minor-mode-table): Add `savehist-mode'.
4
5 * play/solitaire.el (solitaire-solve): Err out if the solitaire
6 is already in progress.
7
12008-08-12 NAKAGAWA Makoto <gha03025@nifty.ne.jp> (tiny change) 82008-08-12 NAKAGAWA Makoto <gha03025@nifty.ne.jp> (tiny change)
2 9
3 * net/ldap.el (ldap-search-internal): Tweak URL regexp. 10 * net/ldap.el (ldap-search-internal): Tweak URL regexp.
diff --git a/lisp/desktop.el b/lisp/desktop.el
index a042828e19c..2bee425e7c2 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -454,7 +454,8 @@ Furthermore the major mode function must be autoloaded.")
454(defcustom desktop-minor-mode-table 454(defcustom desktop-minor-mode-table
455 '((auto-fill-function auto-fill-mode) 455 '((auto-fill-function auto-fill-mode)
456 (vc-mode nil) 456 (vc-mode nil)
457 (vc-dired-mode nil)) 457 (vc-dired-mode nil)
458 (savehist-mode nil))
458 "Table mapping minor mode variables to minor mode functions. 459 "Table mapping minor mode variables to minor mode functions.
459Each entry has the form (NAME RESTORE-FUNCTION). 460Each entry has the form (NAME RESTORE-FUNCTION).
460NAME is the name of the buffer-local variable indicating that the minor 461NAME is the name of the buffer-local variable indicating that the minor
diff --git a/lisp/play/solitaire.el b/lisp/play/solitaire.el
index 243d9525ce4..3532d47e32c 100644
--- a/lisp/play/solitaire.el
+++ b/lisp/play/solitaire.el
@@ -431,6 +431,8 @@ Seen in info on text lines."
431 "Spoil solitaire by solving the game for you - nearly ... 431 "Spoil solitaire by solving the game for you - nearly ...
432... stops with five stones left ;)" 432... stops with five stones left ;)"
433 (interactive) 433 (interactive)
434 (when (< solitaire-stones 32)
435 (error "Cannot solve game in progress"))
434 (let ((allmoves [up up S-down up left left S-right up up left S-down 436 (let ((allmoves [up up S-down up left left S-right up up left S-down
435 up up right right S-left down down down S-up up 437 up up right right S-left down down down S-up up
436 S-down down down down S-up left left down 438 S-down down down down S-up left left down