bug-gnu-emacs
[Top][All Lists]
Advanced

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

ispell.el


From: Daniel R. Grayson
Subject: ispell.el
Date: Sat, 10 Feb 2001 16:50:01 -0600 (CST)

    In GNU Emacs 20.7.1 (i486-pc-linux-gnu, X toolkit)
     of Tue Jan  2 2001 on rhenium
    configured using `configure  i486-linux-gnu'

I was using ispell-buffer in the ordinary way and got an error

        Wrong type argument: window-live-p, nil

I used debug mode and found the expression that is nil, fixable by the
following change, which does fix it on my machine.  I don't understand why
'(previous-window)' should ever be nil.  I don't understand the code well
enough to know whether this is the correct fix.

    rhenium# diff -u ispell.el.old ispell.el
    --- ispell.el.old   Mon Jul 12 10:48:52 1999
    +++ ispell.el       Sat Feb 10 16:45:48 2001
    @@ -1452,7 +1452,7 @@
                  (set-window-start (selected-window)
                                    (if (> (point) visible) visible (point)))
                  (goto-char end)
    -         (select-window (previous-window)) ; *Choices* window
    +         (select-window choices-window) ; *Choices* window
                  (enlarge-window window-line)))
            ;; Overlay *Choices* window when it isn't showing
            (ispell-overlay-window (max line 
ispell-choices-win-default-height)))
    rhenium# pwd
    /usr/share/emacs/20.7/lisp



reply via email to

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