summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorAgustín Martín <agustin.martin@hispalinux.es>2011-05-03 16:11:39 +0200
committerAgustín Martín <agustin.martin@hispalinux.es>2011-05-03 16:11:39 +0200
commit5192af462f6b887e1413d16fc22b84af6030820b (patch)
tree7c37afa1eaa5f2b9787e5f0818323263a75b3c06 /lisp
parent5767d190ca743677c41c64119337bc2fa7797439 (diff)
downloademacs-5192af462f6b887e1413d16fc22b84af6030820b.tar.gz
emacs-5192af462f6b887e1413d16fc22b84af6030820b.tar.bz2
emacs-5192af462f6b887e1413d16fc22b84af6030820b.zip
ispell.el (ispell-add-per-file-word-list): Use `concat' to create string for insertion.
Fixes: debbugs:8579
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/ispell.el2
2 files changed, 6 insertions, 1 deletions
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 <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):
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 ";".