diff options
| author | Martin Rudalics | 2014-12-19 18:59:54 +0100 |
|---|---|---|
| committer | Martin Rudalics | 2014-12-19 18:59:54 +0100 |
| commit | 164cdfbf9e75a891bd8944a79f53bd403c6c2215 (patch) | |
| tree | a288c9ef628218036427d112be46c3e6afc70ca7 | |
| parent | 061f310c4a32491634b7563f4b8520f4824ed21b (diff) | |
| download | emacs-164cdfbf9e75a891bd8944a79f53bd403c6c2215.tar.gz emacs-164cdfbf9e75a891bd8944a79f53bd403c6c2215.zip | |
In `ispell-command-loop' don't use `next-window'.
* textmodes/ispell.el (ispell-command-loop): Don't use
`next-window'.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b50d5844b58..feeab01a106 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-12-19 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * textmodes/ispell.el (ispell-command-loop): Don't use | ||
| 4 | `next-window'. | ||
| 5 | |||
| 1 | 2014-12-18 Sam Steingold <sds@gnu.org> | 6 | 2014-12-18 Sam Steingold <sds@gnu.org> |
| 2 | 7 | ||
| 3 | Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1). | 8 | Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1). |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index ea2eaba6b9e..ab2c83b3ebc 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -2265,8 +2265,9 @@ Global `ispell-quit' set to start location to continue spell session." | |||
| 2265 | (sit-for 0)) | 2265 | (sit-for 0)) |
| 2266 | 2266 | ||
| 2267 | ;; Display choices for misspelled word. | 2267 | ;; Display choices for misspelled word. |
| 2268 | (setq textwin (selected-window)) | ||
| 2268 | (ispell-show-choices) | 2269 | (ispell-show-choices) |
| 2269 | (select-window (setq textwin (next-window))) | 2270 | (select-window textwin) |
| 2270 | 2271 | ||
| 2271 | ;; highlight word, protecting current buffer status | 2272 | ;; highlight word, protecting current buffer status |
| 2272 | (unwind-protect | 2273 | (unwind-protect |
| @@ -2408,8 +2409,9 @@ Global `ispell-quit' set to start location to continue spell session." | |||
| 2408 | count (ispell-int-char (1+ count)))) | 2409 | count (ispell-int-char (1+ count)))) |
| 2409 | (setq count (ispell-int-char | 2410 | (setq count (ispell-int-char |
| 2410 | (- count ?0 skipped)))) | 2411 | (- count ?0 skipped)))) |
| 2412 | (setq textwin (selected-window)) | ||
| 2411 | (ispell-show-choices) | 2413 | (ispell-show-choices) |
| 2412 | (select-window (next-window))))) | 2414 | (select-window textwin)))) |
| 2413 | (and (eq 'block ispell-highlight-p) | 2415 | (and (eq 'block ispell-highlight-p) |
| 2414 | (ispell-highlight-spelling-error start end nil | 2416 | (ispell-highlight-spelling-error start end nil |
| 2415 | 'block)) | 2417 | 'block)) |