help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file/local variables (and auctex?)


From: martin rudalics
Subject: Re: file/local variables (and auctex?)
Date: Thu, 12 Apr 2007 10:34:21 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I actually got this very error when copying the lines above to a file
> and opening it.

Indeed - I was confused because the OP didn't mention it the first time.
It's due to the "$" in

          (let ((suffix
                 (concat
                  (regexp-quote (buffer-substring (point)
                                                  (line-end-position)))
                  "$"))

and I stand corrected.  Maybe we should write

          (let ((suffix
                 (concat
                  (regexp-quote (buffer-substring (point)
                                                  (line-end-position)))
                  "[ \t]*$"))

instead.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]