[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/play/bubbles.el,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/play/bubbles.el,v |
Date: |
Tue, 01 Jul 2008 03:04:39 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 08/07/01 03:04:39
Index: bubbles.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/play/bubbles.el,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- bubbles.el 12 Jun 2008 03:56:19 -0000 1.8
+++ bubbles.el 1 Jul 2008 03:04:39 -0000 1.9
@@ -233,7 +233,7 @@
"Current Bubbles score.")
(defvar bubbles--neighbourhood-score 0
- "Score of active bubbles neighbourhood.")
+ "Score of active bubbles neighborhood.")
(defvar bubbles--faces nil
"List of currently used faces.")
@@ -1083,7 +1083,7 @@
nil)))
(defun bubbles--mark-direct-neighbours (row col char)
- "Mark direct neighbours of bubble at ROW COL with same CHAR."
+ "Mark direct neighbors of bubble at ROW COL with same CHAR."
(save-excursion
(let ((count 0))
(when (and (bubbles--goto row col)
@@ -1099,7 +1099,7 @@
count)))
(defun bubbles--mark-neighbourhood (&optional pos)
- "Mark neighbourhood of point.
+ "Mark neighborhood of point.
Use optional parameter POS instead of point if given."
(when bubbles--playing
(unless pos (setq pos (point)))
@@ -1124,7 +1124,7 @@
(error (message "Bubbles: Internal error %s" err)))))
(defun bubbles--neighbourhood-available ()
- "Return t if another valid neighbourhood is available."
+ "Return t if another valid neighborhood is available."
(catch 'found
(save-excursion
(dotimes (i (bubbles--grid-height))
@@ -1159,7 +1159,7 @@
(bubbles--show-scores))
(defun bubbles--update-neighbourhood-score (size)
- "Calculate and display score of active neighbourhood from its SIZE."
+ "Calculate and display score of active neighborhood from its SIZE."
(if (> size 1)
(setq bubbles--neighbourhood-score (expt (- size 1) 2))
(setq bubbles--neighbourhood-score 0))