From: Agustín Martín Date: Tue, 3 May 2011 14:11:39 +0000 (+0200) Subject: ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5192af462f6b887e1413d16fc22b84af6030820b;p=emacs.git ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion. Fixes: debbugs:8579 --- 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 ";".