unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* jit-lock tries to fontify killed buffer (sometimes)
@ 2013-04-05  6:56 Fabrice Popineau
  2013-04-05  8:33 ` Andreas Schwab
  2013-04-05 13:24 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Fabrice Popineau @ 2013-04-05  6:56 UTC (permalink / raw)
  To: emacs-devel

Hi,

I'm using some post 24.3 version of Emacs (W32 natively compiled).
I start my session with debug-on-error being t.
I get a backtrace on jit-lock trying to fontify some killed-buffer 
while restoring my previous session (thanks to the desktop library).
The obvious patch is:

--- \mirror\emacs\lisp\jit-lock.el      2013-02-08 16:13:02.417999000 +0100
+++ \local\Emacs\lisp\jit-lock.el       2013-04-04 20:35:06.173203900 +0200
@@ -35,7 +35,8 @@
     (declare (debug t))
     `(let ((inhibit-point-motion-hooks t))
        (with-silent-modifications
-         ,@body))))
+         (if (buffer-live-p (current-buffer))
+         ,@body)))))
 ♀
 ;;; Customization.

But maybe this is just hiding something else.

Any idea of what is going on there?

Fabrice




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-21 23:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-05  6:56 jit-lock tries to fontify killed buffer (sometimes) Fabrice Popineau
2013-04-05  8:33 ` Andreas Schwab
2013-04-05  9:11   ` Fabrice Popineau
2013-04-05 13:24 ` Stefan Monnier
2013-04-09 13:15   ` Fabrice Popineau
2013-04-21 23:53     ` Fabrice Popineau

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).