+2014-06-21 Glenn Morris <rgm@gnu.org>
+
+ * play/landmark.el (landmark-move-down, landmark-move-up):
+ Fix 2007-10-20 change - preserve horizontal position.
+
2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
Fix completion retrieval parsing (bug#17209).
"Move point down one row on the Landmark board."
(interactive)
(if (< (landmark-point-y) landmark-board-height)
- (forward-line 1)));;; landmark-square-height)))
+ (let ((col (current-column)))
+ (forward-line 1) ;;; landmark-square-height
+ (move-to-column col))))
(defun landmark-move-up ()
"Move point up one row on the Landmark board."
(interactive)
(if (> (landmark-point-y) 1)
- (forward-line (- landmark-square-height))))
+ (let ((col (current-column)))
+ (forward-line (- landmark-square-height))
+ (move-to-column col))))
(defun landmark-move-ne ()
"Move point North East on the Landmark board."