[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to know is a buffer is a temporary one?
From: |
Sebastien Vauban |
Subject: |
How to know is a buffer is a temporary one? |
Date: |
Mon, 29 Jul 2013 17:26:56 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (windows-nt) |
Hello,
I want to attach some code on first-change-hook, but I noticed *a lot* of
temporary buffers are created (and modified), hence my code running in many
situations where it doesn't need to.
So, is there a way for my code not to be applied for temp buffers? Function to
use in a `(when ...)' construct? Or do I have to look for the pattern `^ *' in
the name of the buffer (that is, a name beginning with a space and a star)?
Best regards,
Seb
--
Sebastien Vauban
- How to know is a buffer is a temporary one?,
Sebastien Vauban <=
- Re: How to know is a buffer is a temporary one?, Thorsten Jolitz, 2013/07/29
- Re: How to know is a buffer is a temporary one?, Stefan Monnier, 2013/07/29
- Message not available
- Re: How to know is a buffer is a temporary one?, Sebastien Vauban, 2013/07/29
- Re: How to know is a buffer is a temporary one?, Sebastien Vauban, 2013/07/29
- RE: How to know is a buffer is a temporary one?, Drew Adams, 2013/07/29
- Re: How to know is a buffer is a temporary one?, Stefan Monnier, 2013/07/29
- Message not available
- Re: How to know is a buffer is a temporary one?, Sebastien Vauban, 2013/07/30
- Re: How to know is a buffer is a temporary one?, Stefan Monnier, 2013/07/30
- Message not available
- Re: How to know is a buffer is a temporary one?, Sebastien Vauban, 2013/07/30