diff options
| author | Glenn Morris | 2010-07-06 20:52:05 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-07-06 20:52:05 -0700 |
| commit | 49554388208ef121ca91a20212645d47d8cd56ed (patch) | |
| tree | 356c399b9f816d0f4513649d34d95e2b116f6ca6 | |
| parent | e8579ebc1540c34d90c238d6e649387c840ceb04 (diff) | |
| download | emacs-49554388208ef121ca91a20212645d47d8cd56ed.tar.gz emacs-49554388208ef121ca91a20212645d47d8cd56ed.zip | |
Minor zone.el fix.
* play/zone.el (zone-fall-through-ws): Fix next-line -> forward-line fallout.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/play/zone.el | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e4bd2cce4b8..1aa812bb534 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-07-07 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * play/zone.el (zone-fall-through-ws): Fix next-line -> | ||
| 4 | forward-line fallout. | ||
| 5 | |||
| 1 | 2010-07-06 Chong Yidong <cyd@stupidchicken.com> | 6 | 2010-07-06 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * mouse.el (mouse-appearance-menu): Add docstring. | 8 | * mouse.el (mouse-appearance-menu): Add docstring. |
diff --git a/lisp/play/zone.el b/lisp/play/zone.el index 367c301de44..cf22be164d9 100644 --- a/lisp/play/zone.el +++ b/lisp/play/zone.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; zone.el --- idle display hacks | 1 | ;;; zone.el --- idle display hacks |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, |
| 4 | ;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | ;; 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Victor Zandy <zandy@cs.wisc.edu> | 6 | ;; Author: Victor Zandy <zandy@cs.wisc.edu> |
| 7 | ;; Maintainer: Thien-Thi Nguyen <ttn@gnu.org> | 7 | ;; Maintainer: Thien-Thi Nguyen <ttn@gnu.org> |
| @@ -487,8 +487,10 @@ If the element is a function or a list of a function and a number, | |||
| 487 | (wait 0.15) | 487 | (wait 0.15) |
| 488 | newpos fall-p) | 488 | newpos fall-p) |
| 489 | (while (when (save-excursion | 489 | (while (when (save-excursion |
| 490 | (forward-line 1) | 490 | (and (zerop (forward-line 1)) |
| 491 | (and (= col (current-column)) | 491 | (progn |
| 492 | (forward-char col) | ||
| 493 | (= col (current-column))) | ||
| 492 | (setq newpos (point)) | 494 | (setq newpos (point)) |
| 493 | (string= spaces (buffer-substring-no-properties | 495 | (string= spaces (buffer-substring-no-properties |
| 494 | newpos (+ newpos cw-ceil))) | 496 | newpos (+ newpos cw-ceil))) |