[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I tell when the current buffer is the minibuffer?
From: |
raman |
Subject: |
Re: How do I tell when the current buffer is the minibuffer? |
Date: |
Sat, 05 Mar 2016 13:39:55 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) |
Alan Mackenzie <address@hidden> writes:
minibuffer-window-active-p perhaps
> 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!
--
- 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?,
raman <=
- 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
- Re: How do I tell when the current buffer is the minibuffer?, Johan Bockgård, 2016/03/06