diff options
| author | Agustín Martín | 2013-04-17 19:48:10 +0200 |
|---|---|---|
| committer | Agustín Martín | 2013-04-17 19:48:10 +0200 |
| commit | ec7e39f24707268201a444fc4bbc42b2dffae6c5 (patch) | |
| tree | 5502f45fe5715077cd4123d4ddd9f56ff5710552 | |
| parent | 083850a6a195c5d536bd4cd344b5917b225597cc (diff) | |
| download | emacs-ec7e39f24707268201a444fc4bbc42b2dffae6c5.tar.gz emacs-ec7e39f24707268201a444fc4bbc42b2dffae6c5.zip | |
ispell.el: use `comment-normalize-vars' in ispell-add-per-file-word-list (Bug #14214).
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 11666c60c74..cdb8fe5d36c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change) | ||
| 2 | |||
| 3 | * textmodes/ispell.el (ispell-add-per-file-word-list): | ||
| 4 | Fix `flyspell-correct-word-before-point' error when accepting | ||
| 5 | words and `coment-padding' is an integer by using | ||
| 6 | `comment-normalize-vars' (Bug #14214). | ||
| 7 | |||
| 1 | 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org> | 8 | 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 9 | ||
| 3 | New defun movement commands. | 10 | New defun movement commands. |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 06c3cc68664..94b184d09a1 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -4336,8 +4336,13 @@ Both should not be used to define a buffer-local dictionary." | |||
| 4336 | (if (fboundp 'comment-padright) | 4336 | (if (fboundp 'comment-padright) |
| 4337 | ;; Try and use the proper comment marker, | 4337 | ;; Try and use the proper comment marker, |
| 4338 | ;; e.g. ";;" rather than ";". | 4338 | ;; e.g. ";;" rather than ";". |
| 4339 | (comment-padright comment-start | 4339 | (progn |
| 4340 | (comment-add nil)) | 4340 | ;; XEmacs: comment-normalize-vars |
| 4341 | ;; (newcomment.el) only in >= 21.5 | ||
| 4342 | (and (fboundp 'comment-normalize-vars) | ||
| 4343 | (comment-normalize-vars)) | ||
| 4344 | (comment-padright comment-start | ||
| 4345 | (comment-add nil))) | ||
| 4341 | comment-start) | 4346 | comment-start) |
| 4342 | " ") | 4347 | " ") |
| 4343 | "") | 4348 | "") |