[Top][All Lists]

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

How about making `set-minibuffer-window' obsolete?

From: Alan Mackenzie
Subject: How about making `set-minibuffer-window' obsolete?
Date: Tue, 16 Mar 2021 18:16:35 +0000

Hello, Emacs.

Does anybody have any objection to me making set-minibuffer-window

It's defined in src/minibuf.c, but not used by any C function, and it's
not used by any Lisp in Emacs itself - the nearest to a use is a
commented out occurrence in lisp/textmodes/ispell.el.

This function just sets the C variable minibuf_window.  This variable is
defined (by comment) to be the minibuffer window of the selected frame.
So setting it to a random mini-window will cause nasty problems.

Actually, I'd prefer just to remove the function entirely - but there's
always the chance it's being used by some external library.

So, any objections?

Alan Mackenzie (Nuremberg, Germany).

reply via email to

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