aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el9
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 "")