emacs-devel
[Top][All Lists]
Advanced

[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: Stefan Monnier
Subject: Re: How do I tell when the current buffer is the minibuffer?
Date: Tue, 08 Mar 2016 00:00:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Until a `setq' (or the like) is done on the variable for a particular
> buffer, C code reading/writing from Vcomment_depth_hwm reads and writes
> the same piece of RAM that all other buffers do.

If/when you write to the variable and intend it to be a buffer-local
change, you need to use Fset or Fmake_local_variable rather than just
using a C-level assignment.


        Stefan




reply via email to

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