Function: solitaire-mode

solitaire-mode is a byte-compiled function defined in solitaire.el.gz.

Signature

(solitaire-mode)

Documentation

Major mode for playing Solitaire.

To learn how to play Solitaire, see the documentation for function solitaire. The usual mnemonic keys move the cursor around the board; in addition, RET (solitaire-move) is a prefix character for actually moving a stone on the board.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook solitaire-mode-hook, as the final or penultimate step during initialization.

Source Code

;; Defined in /usr/src/emacs/lisp/play/solitaire.el.gz
(define-derived-mode solitaire-mode special-mode "Solitaire"
  "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,
\\[solitaire-move] is a prefix character for actually moving a stone on the board."
  :interactive nil
  (setq truncate-lines t)
  (setq show-trailing-whitespace nil))