[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do I tell when the current buffer is the minibuffer?
From: |
Alan Mackenzie |
Subject: |
How do I tell when the current buffer is the minibuffer? |
Date: |
Sat, 5 Mar 2016 21:02:49 +0000 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Hello, Emacs.
My problem is as stated in the Subject: line.
Part of my program is being called from `signal_after_change' after
activity in the minibuffer. However, in that program the buffer local
variables for the main buffer (not the minibuffer) are still in scope.
I need some way of distinguishing that we're in the minibuffer so as to
avoid corrupting the buffer local variables of the selected buffer.
I've tried "Fminibufferp (Qnil);", but this seems just to return nil,
even when the current buffer IS the minibuffer.
I've even tried reading the fine manual without finding anything useful.
Would somebody please tell me what I'm missing.
Thanks!
--
Alan Mackenzie (Nuremberg, Germany).
- How do I tell when the current buffer is the minibuffer?,
Alan Mackenzie <=
- Re: How do I tell when the current buffer is the minibuffer?, raman, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Andreas Schwab, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Alan Mackenzie, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Andreas Schwab, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Alan Mackenzie, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Andreas Schwab, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Alan Mackenzie, 2016/03/05
- Re: How do I tell when the current buffer is the minibuffer?, Eli Zaretskii, 2016/03/06
- Re: How do I tell when the current buffer is the minibuffer?, Alan Mackenzie, 2016/03/06
- Re: How do I tell when the current buffer is the minibuffer?, Stefan Monnier, 2016/03/08