emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/play/solitaire.el,v


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lisp/play/solitaire.el,v
Date: Thu, 24 Jul 2008 10:55:14 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juanma Barranquero <lektu>      08/07/24 10:55:13

Index: play/solitaire.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/play/solitaire.el,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- play/solitaire.el   6 May 2008 07:24:09 -0000       1.24
+++ play/solitaire.el   24 Jul 2008 10:55:12 -0000      1.25
@@ -33,15 +33,15 @@
 ;;; Code:
 
 (defgroup solitaire nil
-  "Game of solitaire."
+  "Game of Solitaire."
   :prefix "solitaire-"
   :group 'games)
 
 (defvar solitaire-mode-map nil
-  "Keymap for playing solitaire.")
+  "Keymap for playing Solitaire.")
 
 (defcustom solitaire-mode-hook nil
-  "Hook to run upon entry to solitaire."
+  "Hook to run upon entry to Solitaire."
   :type 'hook
   :group 'solitaire)
 
@@ -92,8 +92,8 @@
 (put 'solitaire-mode 'mode-class 'special)
 
 (defun solitaire-mode ()
-  "Major mode for playing solitaire.
-To learn how to play solitaire, see the documentation for function
+  "Major mode for playing Solitaire.
+To learn how to play Solitaire, see the documentation for function
 `solitaire'.
 \\<solitaire-mode-map>
 The usual mnemonic keys move the cursor around the board; in addition,
@@ -102,6 +102,7 @@
   (kill-all-local-variables)
   (use-local-map solitaire-mode-map)
   (setq truncate-lines t)
+  (setq show-trailing-whitespace nil)
   (setq major-mode 'solitaire-mode)
   (setq mode-name "Solitaire")
   (run-mode-hooks 'solitaire-mode-hook))
@@ -145,7 +146,7 @@
 Undo moves using \\[solitaire-undo].
 Check for possible moves using \\[solitaire-do-check].
 \(The variable `solitaire-auto-eval' controls whether to automatically
-check after each move or undo)
+check after each move or undo.)
 
 What is Solitaire?
 
@@ -426,7 +427,7 @@
 
 ;; And here's the spoiler:)
 (defun solitaire-solve ()
-  "Spoil solitaire by solving the game for you - nearly ...
+  "Spoil Solitaire by solving the game for you - nearly ...
 ... stops with five stones left ;)"
   (interactive)
   (let ((allmoves [up up S-down up left left S-right up up left S-down




reply via email to

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