]> code.delx.au - gnu-emacs/commit
ispell.el (ispell-region): Do not prefix sent string by comment in autoconf mode
authorAgustín Martín <agustin.martin@hispalinux.es>
Tue, 6 Nov 2012 16:33:56 +0000 (17:33 +0100)
committerAgustín Martín <agustin.martin@hispalinux.es>
Tue, 6 Nov 2012 16:33:56 +0000 (17:33 +0100)
commit056cb3a1fc23d0eb3a2fae33c40aef2ed16d69ad
treec1415d2d0424c8397b42e5311c093da608e68d88
parentb159a1fd9ba32e72058beff12f185f7c2df55d70
ispell.el (ispell-region): Do not prefix sent string by comment in autoconf mode

 This commit changes some of the `in-comment' ocurrences to more specific
 `add-comment', set only if comment prefix is to be added.

 When in comment, old code prefixed string by comment string to let ispell
 know this is part of a comment string.

 This is only supported in some modes. In particular, this is not supported in
 autoconf mode where adding the comment string messes everything up because
 ispell tries to spellcheck the `dnl' string header causing misalignments in
 some cases (debbugs.gnu.org: #12768).
lisp/ChangeLog
lisp/textmodes/ispell.el