ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion.
authorAgustín Martín <agustin.martin@hispalinux.es>
Tue, 3 May 2011 14:11:39 +0000 (16:11 +0200)
committerAgustín Martín <agustin.martin@hispalinux.es>
Tue, 3 May 2011 14:11:39 +0000 (16:11 +0200)
Fixes: debbugs:8579

lisp/ChangeLog
lisp/textmodes/ispell.el

index bc63548..9cd9036 100644 (file)
@@ -1,3 +1,8 @@
+2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-add-per-file-word-list):
+       Use `concat' for string.
+
 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
index a65ed22..c196218 100644 (file)
@@ -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 ";".