From 5192af462f6b887e1413d16fc22b84af6030820b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Agust=C3=ADn=20Mart=C3=ADn?= Date: Tue, 3 May 2011 16:11:39 +0200 Subject: [PATCH] ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion. Fixes: debbugs:8579 --- lisp/ChangeLog | 5 +++++ lisp/textmodes/ispell.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bc635487254..9cd90366e11 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-05-03 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-add-per-file-word-list): + Use `concat' for string. + 2011-05-03 Stefan Monnier * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry): diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index a65ed227124..c196218feec 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3916,7 +3916,7 @@ Both should not be used to define a buffer-local dictionary." (open-line 1) (unless found (newline)) (insert (if comment-start - (progn + (concat (if (fboundp 'comment-padright) ;; Try and use the proper comment marker, ;; e.g. ";;" rather than ";". -- 2.39.2