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

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

bug#16804: 24.3.50; [PATCH] fix with-silent-modifications


From: Stefan Monnier
Subject: bug#16804: 24.3.50; [PATCH] fix with-silent-modifications
Date: Tue, 18 Feb 2014 23:39:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> I was confused by why an eldoc-documentation-function always gets a nil
> buffer-file-name in a js file in js2-mode.  It turns out js2 wraps its
> parsing routine in with-silent-modifications, thus all timers triggered
> while parsing gets the nil value for buffer-file-name.

I vaguely understand what kind of problem you're talking about, but not
precisely enough to guess what kinds of fixes might make sense.

> Any comments on the following fix? Thanks.

I think I'd rather add a new inhibit-<something>, but it's hard to tell
without knowing more of the problem at hand.


        Stefan





reply via email to

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