[Top][All Lists]

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

Re: get-live-buffer primitive

From: martin rudalics
Subject: Re: get-live-buffer primitive
Date: Thu, 13 Sep 2012 18:50:07 +0200

> It does, if passed a dead buffer.

That's too bad.  I never noticed that :-(

> Maybe we should change that.

Either this or the places where it's used like in Fother_buffer:

      buf = Fget_buffer (build_string ("*scratch*"));
      if (NILP (buf))
          buf = Fget_buffer_create (build_string ("*scratch*"));
          Fset_buffer_major_mode (buf);

Probably this is the source of some mysterious crashes with dead


reply via email to

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