Kevin Rodgers <[EMAIL PROTECTED]> writes:
> kgold wrote:
> > When I spell check comments and strings and the string is part of
> > a printf
> >
> > printf("\tHello, world\n");
> >
> > I'd like the spell checker to ignore the letter after the \.
> > Currently, it complains that tHello is misspelled, causing many false
> > errors.
>
> Can you trick it by adding backslash-character to
> ispell-skip-region-alist?
>
> (add-hook 'c-mode-hook
> (lambda ()
> (set (make-local-variable 'ispell-skip-region-alist)
> (cons '("\\\\[abfnrtv\\'\"]") ispell-skip-region-alist))))
Works perfectly. Thanks once again.
--
Ken Goldman [EMAIL PROTECTED] 914-784-7646
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs