mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-19 18:13:55 +00:00
ispell.el: use `comment-normalize-vars' in ispell-add-per-file-word-list (Bug #14214).
This commit is contained in:
parent
083850a6a1
commit
ec7e39f247
@ -1,3 +1,10 @@
|
||||
2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
|
||||
|
||||
* textmodes/ispell.el (ispell-add-per-file-word-list):
|
||||
Fix `flyspell-correct-word-before-point' error when accepting
|
||||
words and `coment-padding' is an integer by using
|
||||
`comment-normalize-vars' (Bug #14214).
|
||||
|
||||
2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
|
||||
|
||||
New defun movement commands.
|
||||
|
@ -4336,8 +4336,13 @@ Both should not be used to define a buffer-local dictionary."
|
||||
(if (fboundp 'comment-padright)
|
||||
;; Try and use the proper comment marker,
|
||||
;; e.g. ";;" rather than ";".
|
||||
(comment-padright comment-start
|
||||
(comment-add nil))
|
||||
(progn
|
||||
;; XEmacs: comment-normalize-vars
|
||||
;; (newcomment.el) only in >= 21.5
|
||||
(and (fboundp 'comment-normalize-vars)
|
||||
(comment-normalize-vars))
|
||||
(comment-padright comment-start
|
||||
(comment-add nil)))
|
||||
comment-start)
|
||||
" ")
|
||||
"")
|
||||
|
Loading…
Reference in New Issue
Block a user