unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to know is a buffer is a temporary one?
@ 2013-07-29 15:26 Sebastien Vauban
  2013-07-29 16:19 ` Thorsten Jolitz
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Sebastien Vauban @ 2013-07-29 15:26 UTC (permalink / raw)
  To: help-gnu-emacs-mXXj517/zsQ

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


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

end of thread, other threads:[~2013-07-30 13:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29 15:26 How to know is a buffer is a temporary one? Sebastien Vauban
2013-07-29 16:19 ` Thorsten Jolitz
2013-07-29 18:34 ` Stefan Monnier
     [not found] ` <mailman.2054.1375122929.12400.help-gnu-emacs@gnu.org>
2013-07-29 19:00   ` Sebastien Vauban
2013-07-29 20:06     ` Sebastien Vauban
2013-07-29 21:09       ` Drew Adams
2013-07-29 21:24       ` Stefan Monnier
     [not found]       ` <mailman.2061.1375133109.12400.help-gnu-emacs@gnu.org>
     [not found]         ` <mailman.2061.1375133109.12400.help-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-30  7:33           ` Sebastien Vauban
2013-07-30 13:26             ` Stefan Monnier
     [not found]             ` <mailman.2130.1375190796.12400.help-gnu-emacs@gnu.org>
     [not found]               ` <mailman.2130.1375190796.12400.help-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2013-07-30 13:58                 ` Sebastien Vauban

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).