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 /lisp/textmodes | |
| 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).
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/ispell.el | 9 |
1 files changed, 7 insertions, 2 deletions
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 | "") |