diff options
| author | Paul Eggert | 2014-01-15 22:24:06 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-01-15 22:24:06 -0800 |
| commit | c91c771dbe242cd942c00a0a57c18c1482e59fa0 (patch) | |
| tree | abb6fcaf49f4bda5eda2443fb5a6f7531a8a2a74 /lisp/play | |
| parent | 7da02a6769e84cd0a9df8b1bc18ac78df1c0b058 (diff) | |
| download | emacs-c91c771dbe242cd942c00a0a57c18c1482e59fa0.tar.gz emacs-c91c771dbe242cd942c00a0a57c18c1482e59fa0.zip | |
Spelling fixes.
Diffstat (limited to 'lisp/play')
| -rw-r--r-- | lisp/play/gametree.el | 14 | ||||
| -rw-r--r-- | lisp/play/handwrite.el | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/lisp/play/gametree.el b/lisp/play/gametree.el index 62dd56e3ba6..5bb3ca94afc 100644 --- a/lisp/play/gametree.el +++ b/lisp/play/gametree.el | |||
| @@ -399,23 +399,23 @@ depth AT-DEPTH or smaller is found." | |||
| 399 | (error | 399 | (error |
| 400 | (goto-char (point-max)) | 400 | (goto-char (point-max)) |
| 401 | (if (not (bolp)) (insert "\n")))) | 401 | (if (not (bolp)) (insert "\n")))) |
| 402 | (let ((starting-plys | 402 | (let ((starting-plies |
| 403 | (if (> (gametree-current-branch-depth) parent-depth) | 403 | (if (> (gametree-current-branch-depth) parent-depth) |
| 404 | (gametree-current-branch-ply) | 404 | (gametree-current-branch-ply) |
| 405 | (save-excursion (forward-line -1) | 405 | (save-excursion (forward-line -1) |
| 406 | (gametree-current-branch-ply))))) | 406 | (gametree-current-branch-ply))))) |
| 407 | (goto-char (1- (point))) | 407 | (goto-char (1- (point))) |
| 408 | (insert "\n") | 408 | (insert "\n") |
| 409 | (insert (format (if (= 0 (mod starting-plys 2)) | 409 | (insert (format (if (= 0 (mod starting-plies 2)) |
| 410 | gametree-full-ply-format | 410 | gametree-full-ply-format |
| 411 | gametree-half-ply-format) | 411 | gametree-half-ply-format) |
| 412 | (/ starting-plys 2)))))) | 412 | (/ starting-plies 2)))))) |
| 413 | 413 | ||
| 414 | (defun gametree-break-line-here (&optional at-move) | 414 | (defun gametree-break-line-here (&optional at-move) |
| 415 | "Split the variation node at the point position. | 415 | "Split the variation node at the point position. |
| 416 | This command works whether the current variation node is a leaf, or is | 416 | This command works whether the current variation node is a leaf, or is |
| 417 | already branching at its end. The new node is created at a level that | 417 | already branching at its end. The new node is created at a level that |
| 418 | reflects the number of game plys between the beginning of the current | 418 | reflects the number of game plies between the beginning of the current |
| 419 | variation and the breaking point. | 419 | variation and the breaking point. |
| 420 | 420 | ||
| 421 | With a numerical argument AT-MOVE, split the variation before | 421 | With a numerical argument AT-MOVE, split the variation before |
| @@ -436,7 +436,7 @@ only work of Black's moves are explicitly numbered, for instance | |||
| 436 | (goto-char (match-beginning 0)))) | 436 | (goto-char (match-beginning 0)))) |
| 437 | (gametree-transpose-following-leaves) | 437 | (gametree-transpose-following-leaves) |
| 438 | (let* ((pt (point-marker)) | 438 | (let* ((pt (point-marker)) |
| 439 | (plys (gametree-current-branch-ply)) | 439 | (plies (gametree-current-branch-ply)) |
| 440 | (depth (gametree-current-branch-depth)) | 440 | (depth (gametree-current-branch-depth)) |
| 441 | (old-depth depth)) | 441 | (old-depth depth)) |
| 442 | (if (= depth 0) | 442 | (if (= depth 0) |
| @@ -451,7 +451,7 @@ only work of Black's moves are explicitly numbered, for instance | |||
| 451 | (if (zerop old-branch-ply) | 451 | (if (zerop old-branch-ply) |
| 452 | (1+ (gametree-current-branch-depth)) | 452 | (1+ (gametree-current-branch-depth)) |
| 453 | (+ (gametree-current-branch-depth) | 453 | (+ (gametree-current-branch-depth) |
| 454 | (- plys old-branch-ply)))))) | 454 | (- plies old-branch-ply)))))) |
| 455 | (save-excursion | 455 | (save-excursion |
| 456 | (beginning-of-line 1) | 456 | (beginning-of-line 1) |
| 457 | (funcall gametree-make-heading-function depth) | 457 | (funcall gametree-make-heading-function depth) |
| @@ -471,7 +471,7 @@ only work of Black's moves are explicitly numbered, for instance | |||
| 471 | (insert "\n") | 471 | (insert "\n") |
| 472 | (if (not (= 0 old-depth)) | 472 | (if (not (= 0 old-depth)) |
| 473 | (funcall gametree-make-heading-function | 473 | (funcall gametree-make-heading-function |
| 474 | (+ depth (- (gametree-current-branch-ply) plys)))) | 474 | (+ depth (- (gametree-current-branch-ply) plies)))) |
| 475 | (gametree-prettify-heading)))) | 475 | (gametree-prettify-heading)))) |
| 476 | 476 | ||
| 477 | (defun gametree-merge-line () | 477 | (defun gametree-merge-line () |
diff --git a/lisp/play/handwrite.el b/lisp/play/handwrite.el index b682e0c5291..51e0a0f4e4d 100644 --- a/lisp/play/handwrite.el +++ b/lisp/play/handwrite.el | |||
| @@ -244,7 +244,7 @@ Variables: `handwrite-linespace' (default 12) | |||
| 244 | (insert "showpage exec Hwsave restore\n\n") | 244 | (insert "showpage exec Hwsave restore\n\n") |
| 245 | (insert "%%Pages " (number-to-string ipage) " 0\n") | 245 | (insert "%%Pages " (number-to-string ipage) " 0\n") |
| 246 | (insert "%%EOF\n") | 246 | (insert "%%EOF\n") |
| 247 | ;;To avoid cumbersome code we simply ignore pagefeeds | 247 | ;;To avoid cumbersome code we simply ignore formfeeds |
| 248 | (goto-char textp) | 248 | (goto-char textp) |
| 249 | (while (search-forward "\f" nil t) | 249 | (while (search-forward "\f" nil t) |
| 250 | (replace-match "" nil t) ) | 250 | (replace-match "" nil t) ) |