emacs-diffs
[Top][All Lists]
Advanced

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

master 39561fb: Use lexical-binding in solitaire.el


From: Stefan Kangas
Subject: master 39561fb: Use lexical-binding in solitaire.el
Date: Mon, 2 Nov 2020 22:22:04 -0500 (EST)

branch: master
commit 39561fbfb3dd1baefc1e6f2ca3d1d02d2001cd3e
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Use lexical-binding in solitaire.el
    
    * lisp/play/solitaire.el: Use lexical-binding.  Remove redundant
    :group args.
---
 lisp/play/solitaire.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lisp/play/solitaire.el b/lisp/play/solitaire.el
index 5c1dd06..1383efe 100644
--- a/lisp/play/solitaire.el
+++ b/lisp/play/solitaire.el
@@ -1,4 +1,4 @@
-;;; solitaire.el --- game of solitaire in Emacs Lisp
+;;; solitaire.el --- game of solitaire in Emacs Lisp  -*- lexical-binding: t 
-*-
 
 ;; Copyright (C) 1994, 2001-2020 Free Software Foundation, Inc.
 
@@ -38,8 +38,7 @@
 
 (defcustom solitaire-mode-hook nil
   "Hook to run upon entry to Solitaire."
-  :type 'hook
-  :group 'solitaire)
+  :type 'hook)
 
 (defvar solitaire-mode-map
   (let ((map (make-sparse-keymap)))
@@ -119,8 +118,7 @@ The usual mnemonic keys move the cursor around the board; 
in addition,
   "Non-nil means check for possible moves after each major change.
 This takes a while, so switch this on if you like to be informed when
 the game is over, or off, if you are working on a slow machine."
-  :type 'boolean
-  :group 'solitaire)
+  :type 'boolean)
 
 (defconst solitaire-valid-directions
   '(solitaire-left solitaire-right solitaire-up solitaire-down))



reply via email to

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