# HG changeset patch # User Glenn Morris # Date 1278474725 25200 # Node ID 15fa65282ad3c8eef93bca9bfdaae494cbf19e12 # Parent c145957f7705249b12dcf667682d4c0ae9638ba2 Minor zone.el fix. * play/zone.el (zone-fall-through-ws): Fix next-line -> forward-line fallout. diff -r c145957f7705 -r 15fa65282ad3 lisp/ChangeLog --- a/lisp/ChangeLog Tue Jul 06 15:42:46 2010 -0400 +++ b/lisp/ChangeLog Tue Jul 06 20:52:05 2010 -0700 @@ -1,3 +1,8 @@ +2010-07-07 Glenn Morris + + * play/zone.el (zone-fall-through-ws): Fix next-line -> + forward-line fallout. + 2010-07-06 Chong Yidong * mouse.el (mouse-appearance-menu): Add docstring. diff -r c145957f7705 -r 15fa65282ad3 lisp/play/zone.el --- a/lisp/play/zone.el Tue Jul 06 15:42:46 2010 -0400 +++ b/lisp/play/zone.el Tue Jul 06 20:52:05 2010 -0700 @@ -1,7 +1,7 @@ ;;; zone.el --- idle display hacks -;; Copyright (C) 2000, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, +;; 2009, 2010 Free Software Foundation, Inc. ;; Author: Victor Zandy ;; Maintainer: Thien-Thi Nguyen @@ -487,8 +487,10 @@ (wait 0.15) newpos fall-p) (while (when (save-excursion - (forward-line 1) - (and (= col (current-column)) + (and (zerop (forward-line 1)) + (progn + (forward-char col) + (= col (current-column))) (setq newpos (point)) (string= spaces (buffer-substring-no-properties newpos (+ newpos cw-ceil)))