diff lisp/play/landmark.el @ 39866:a4570786d40d

Do not double variables in the lambda-list.
author Pavel Janík <Pavel@Janik.cz>
date Sat, 13 Oct 2001 08:10:30 +0000
parents 802c948ddb3a
children a33250d752d4
line wrap: on
line diff
--- a/lisp/play/landmark.el	Fri Oct 12 22:39:29 2001 +0000
+++ b/lisp/play/landmark.el	Sat Oct 13 08:10:30 2001 +0000
@@ -945,11 +945,11 @@
       (insert-char ?\n lm-square-height))
     (or (eq (char-after 1) ?.)
 	(put-text-property 1 2 'point-entered
-			   (lambda (x x) (if (bobp) (forward-char)))))
+			   (lambda (x y) (if (bobp) (forward-char)))))
     (or intangible
 	(put-text-property point (point) 'intangible 2))
     (put-text-property point (point) 'point-entered
-		       (lambda (x x) (if (eobp) (backward-char))))
+		       (lambda (x y) (if (eobp) (backward-char))))
     (put-text-property (point-min) (point) 'category 'lm-mode))
   (lm-goto-xy (/ (1+ n) 2) (/ (1+ m) 2)) ; center of the board
   (sit-for 0))				; Display NOW