public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emacs/chess/files: 50chess-gentoo.el 2.0_beta6-chess-common-handler-gentoo.patch
@ 2008-03-14 21:54 Ulrich Mueller (ulm)
  0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2008-03-14 21:54 UTC (permalink / raw
  To: gentoo-commits

ulm         08/03/14 21:54:07

  Added:                50chess-gentoo.el
                        2.0_beta6-chess-common-handler-gentoo.patch
  Log:
  Allow alternative chess engines in RDEPEND.
  Do not use custom-set-variables in site file.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.3                  app-emacs/chess/files/50chess-gentoo.el

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/chess/files/50chess-gentoo.el?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/chess/files/50chess-gentoo.el?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/chess/files/50chess-gentoo.el?r1=1.2&r2=1.3




1.1                  app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch?rev=1.1&content-type=text/plain

Index: 2.0_beta6-chess-common-handler-gentoo.patch
===================================================================
--- chess-orig/chess-common.el	2007-12-14 21:54:58.000000000 +0100
+++ chess/chess-common.el	2008-03-14 21:11:56.000000000 +0100
@@ -41,10 +41,11 @@
       (chess-message 'starting-engine name)
       (unless (boundp path)
 	(chess-error 'could-not-find-engine name path))
-      (setq proc (start-process (concat "chess-" name)
-				(current-buffer) (symbol-value path)))
-      (chess-message 'starting-engine-done name)
-      proc))
+      (when (symbol-value path)
+	(setq proc (start-process (concat "chess-" name)
+				  (current-buffer) (symbol-value path)))
+	(chess-message 'starting-engine-done name)
+	proc)))
 
    ((eq event 'ready)
     (chess-game-set-data game 'active t)



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-14 21:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-14 21:54 [gentoo-commits] gentoo-x86 commit in app-emacs/chess/files: 50chess-gentoo.el 2.0_beta6-chess-common-handler-gentoo.patch Ulrich Mueller (ulm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox