aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2008-07-01 03:05:49 +0000
committerGlenn Morris2008-07-01 03:05:49 +0000
commita7c29764d9dd1df1e77be02001b5bcc838dd561e (patch)
treec5177667ab7068e9357827394993afa94f1f65b9 /lisp
parentf838179402f8cc11610180c166258a607b2b6709 (diff)
downloademacs-a7c29764d9dd1df1e77be02001b5bcc838dd561e.tar.gz
emacs-a7c29764d9dd1df1e77be02001b5bcc838dd561e.zip
American English spelling fixes.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/play/bubbles.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el
index 80aaf6b4a7e..290a43c0a7e 100644
--- a/lisp/play/bubbles.el
+++ b/lisp/play/bubbles.el
@@ -233,7 +233,7 @@ Available modes are `shift-default' and`shift-always'."
233 "Current Bubbles score.") 233 "Current Bubbles score.")
234 234
235(defvar bubbles--neighbourhood-score 0 235(defvar bubbles--neighbourhood-score 0
236 "Score of active bubbles neighbourhood.") 236 "Score of active bubbles neighborhood.")
237 237
238(defvar bubbles--faces nil 238(defvar bubbles--faces nil
239 "List of currently used faces.") 239 "List of currently used faces.")
@@ -1083,7 +1083,7 @@ Set `bubbles--col-offset' and `bubbles--row-offset'."
1083 nil))) 1083 nil)))
1084 1084
1085(defun bubbles--mark-direct-neighbours (row col char) 1085(defun bubbles--mark-direct-neighbours (row col char)
1086 "Mark direct neighbours of bubble at ROW COL with same CHAR." 1086 "Mark direct neighbors of bubble at ROW COL with same CHAR."
1087 (save-excursion 1087 (save-excursion
1088 (let ((count 0)) 1088 (let ((count 0))
1089 (when (and (bubbles--goto row col) 1089 (when (and (bubbles--goto row col)
@@ -1099,7 +1099,7 @@ Set `bubbles--col-offset' and `bubbles--row-offset'."
1099 count))) 1099 count)))
1100 1100
1101(defun bubbles--mark-neighbourhood (&optional pos) 1101(defun bubbles--mark-neighbourhood (&optional pos)
1102 "Mark neighbourhood of point. 1102 "Mark neighborhood of point.
1103Use optional parameter POS instead of point if given." 1103Use optional parameter POS instead of point if given."
1104 (when bubbles--playing 1104 (when bubbles--playing
1105 (unless pos (setq pos (point))) 1105 (unless pos (setq pos (point)))
@@ -1124,7 +1124,7 @@ Use optional parameter POS instead of point if given."
1124 (error (message "Bubbles: Internal error %s" err))))) 1124 (error (message "Bubbles: Internal error %s" err)))))
1125 1125
1126(defun bubbles--neighbourhood-available () 1126(defun bubbles--neighbourhood-available ()
1127 "Return t if another valid neighbourhood is available." 1127 "Return t if another valid neighborhood is available."
1128 (catch 'found 1128 (catch 'found
1129 (save-excursion 1129 (save-excursion
1130 (dotimes (i (bubbles--grid-height)) 1130 (dotimes (i (bubbles--grid-height))
@@ -1159,7 +1159,7 @@ Use optional parameter POS instead of point if given."
1159 (bubbles--show-scores)) 1159 (bubbles--show-scores))
1160 1160
1161(defun bubbles--update-neighbourhood-score (size) 1161(defun bubbles--update-neighbourhood-score (size)
1162 "Calculate and display score of active neighbourhood from its SIZE." 1162 "Calculate and display score of active neighborhood from its SIZE."
1163 (if (> size 1) 1163 (if (> size 1)
1164 (setq bubbles--neighbourhood-score (expt (- size 1) 2)) 1164 (setq bubbles--neighbourhood-score (expt (- size 1) 2))
1165 (setq bubbles--neighbourhood-score 0)) 1165 (setq bubbles--neighbourhood-score 0))