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

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

Re: How to know is a buffer is a temporary one?


From: Stefan Monnier
Subject: Re: How to know is a buffer is a temporary one?
Date: Mon, 29 Jul 2013 14:34:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> So, is there a way for my code not to be applied for temp buffers?

Emacs doesn't really have a formal definition of "temp buffer".
Maybe you're better off trying to define "useful buffer" for your
particular case.  E.g. maybe check `buffer-file-name'.


        Stefan




reply via email to

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