diff options
| author | Agustín Martín | 2012-04-23 12:33:25 +0200 |
|---|---|---|
| committer | Agustín Martín | 2012-04-23 12:33:25 +0200 |
| commit | da00640ab78cc69f9321d7bc6062c3119493f6a7 (patch) | |
| tree | 1e03c4ae347e3c2987fc6d665de7d8e5a69c1111 /lisp/ChangeLog | |
| parent | ca0294bbd827c08fd60d32e63c8e133342b6551d (diff) | |
| download | emacs-da00640ab78cc69f9321d7bc6062c3119493f6a7.tar.gz emacs-da00640ab78cc69f9321d7bc6062c3119493f6a7.zip | |
ispell.el,flyspell.el: Preserve session localwords when switching back buffers.
Once a word is declared valid for a session and a buffer it should
stay valid for that buffer regardless buffer switches unless ispell
process is explicitly killed or dictionary changed for that buffer.
However, it is currently lost when we switch to a different buffer
that triggers a new ispell process and then switch back to the
original buffer (triggering a new ispell restart).
These changes try to keep buffer session localwords accepted in above
case.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5afe17b6f74..5ead85734af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,21 @@ | |||
| 1 | 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es> | 1 | 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es> |
| 2 | 2 | ||
| 3 | Preserve ispell session localwords when switching back to | ||
| 4 | original buffer. | ||
| 5 | |||
| 6 | * ispell.el (ispell-buffer-session-localwords): New buffer-local | ||
| 7 | variable to hold buffer session localwords. | ||
| 8 | (ispell-kill-ispell): add option 'clear to delete session | ||
| 9 | localwords. | ||
| 10 | (ispell-command-loop, ispell-change-dictionary) | ||
| 11 | (ispell-buffer-local-words): Preserve session localwords when | ||
| 12 | needed. | ||
| 13 | |||
| 14 | * flyspell.el (flyspell-process-localwords, flyspell-do-correct): | ||
| 15 | Preserve session localwords when needed. | ||
| 16 | |||
| 17 | 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es> | ||
| 18 | |||
| 3 | * ispell.el (ispell-insert-word) Remove unneeded function using | 19 | * ispell.el (ispell-insert-word) Remove unneeded function using |
| 4 | obsolete `translation-table-for-input'. | 20 | obsolete `translation-table-for-input'. |
| 5 | (ispell-word, ispell-process-line, ispell-complete-word): Use | 21 | (ispell-word, ispell-process-line, ispell-complete-word): Use |