Comment 5 for bug 405498

Revision history for this message
era (era) wrote : Re: emacs22 (X11) "don't show startup screen again" fails

With this .emacs file I am able to reproduce the error. The error message implicates the tex-mode-hook stanza which begins on line 195 of the .emacs file. Apparently forward-sexp cannot cope with the character literal for a literal semicolon character, which I think is a bug if Emacs doesn't otherwise choke on it. Changing the line

                        (modify-syntax-entry ?; "w")

to

                        (modify-syntax-entry ?\; "w")

allows forward-sexp to parse the sexp correctly.

I don't think Debian ever shipped with a default .emacs file but I could be wrong.