emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 01/02: * chess.el Add to games menu.


From: Mario Lang
Subject: [elpa] 01/02: * chess.el Add to games menu.
Date: Wed, 18 Jun 2014 21:48:56 +0000

mlang pushed a commit to branch externals/chess
in repository elpa.

commit dc18a3b41633b13104329e85903ff15097f7bfcd
Author: Mario Lang <address@hidden>
Date:   Wed Jun 18 23:44:39 2014 +0200

    * chess.el Add to games menu.
---
 chess-ics.el |    3 +++
 chess.el     |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/chess-ics.el b/chess-ics.el
index 0e44187..ca2aaab 100644
--- a/chess-ics.el
+++ b/chess-ics.el
@@ -827,6 +827,9 @@ This function should be put on 
`comint-preoutput-filter-functions'."
        (accept-process-output (get-buffer-process (current-buffer)) 0 100)))
     (switch-to-buffer buf)))
 
+;;;###autoload
+(define-key menu-bar-games-menu [chess-ics] '(menu-item "Internet Chess 
Servers" chess-ics :help "Play Chess on the Internet"))
+
 ;;; ICC datagrams
 
 ;; See http://www.chessclub.com/resources/formats/formats.txt
diff --git a/chess.el b/chess.el
index e45eee9..00f06ac 100644
--- a/chess.el
+++ b/chess.el
@@ -235,6 +235,9 @@ Otherwise use `chess-default-engine' to determine the 
engine."
 (defalias 'chess-session 'chess)
 
 ;;;###autoload
+(define-key menu-bar-games-menu [chess] '(menu-item "Chess" chess :help "Play 
Chess"))
+
+;;;###autoload
 (defun chess-create-display (perspective &optional modules-too)
   "Create a display, letting the user's customization decide the style.
 If MODULES-TOO is non-nil, also create and associate the modules



reply via email to

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