[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small bug in flyspell.el

From: martin rudalics
Subject: Re: Small bug in flyspell.el
Date: Tue, 24 Apr 2007 14:51:40 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> So the function begins like this:
>   (let (top bot)
>     (save-excursion
>       (move-to-window-line 0)
>       (setq top (point))
>       (move-to-window-line -1)
>       (setq bot (point)))
>     (save-excursion
>       (save-restriction
>    (narrow-to-region top bot)

Is there any reason for not writing

  (let ((top (window-start))
        (bot (window-end)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]