[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el, v [EMACS_22_B
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el, v [EMACS_22_BASE] |
Date: |
Fri, 27 Apr 2007 18:53:31 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Chong Yidong <cyd> 07/04/27 18:53:31
Index: flyspell.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/textmodes/flyspell.el,v
retrieving revision 1.118
retrieving revision 1.118.2.1
diff -u -b -r1.118 -r1.118.2.1
--- flyspell.el 22 Apr 2007 00:19:37 -0000 1.118
+++ flyspell.el 27 Apr 2007 18:53:31 -0000 1.118.2.1
@@ -1961,12 +1961,8 @@
But don't look beyond what's visible on the screen."
(interactive "d")
- (let (top bot)
- (save-excursion
- (move-to-window-line 0)
- (setq top (point))
- (move-to-window-line -1)
- (setq bot (point)))
+ (let ((top (window-start))
+ (bot (window-end)))
(save-excursion
(save-restriction
(narrow-to-region top bot)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el, v [EMACS_22_BASE],
Chong Yidong <=