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

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

Re: dimensions when doing text-scale-increase, and including minibuffer


From: Eli Zaretskii
Subject: Re: dimensions when doing text-scale-increase, and including minibuffer in text-scale-increase
Date: Mon, 23 Dec 2019 15:23:56 +0200

> From: Samuel Wales <samologist@gmail.com>
> Date: Sun, 22 Dec 2019 14:05:10 -0700
> Cc: help-gnu-emacs@gnu.org
> 
> i could not find a buffer switch hook.

I think you want window-configuration-change-hook.

> however, i can't seem to find minibuffer or echo area buffer in the
> buffer list:
> 
> (dolist (buffer (buffer-list))
>     (with-current-buffer buffer
>       (text-scale-increase amount)))
> 
> works for only regular buffers.  i presume they are supposed to be
> done separately?

Not sure, but buffer-list definitely returns minibuffers as well.

> i noticed that (default-font-width) is not in emacs 24.  i presume it
> got added in a later version.

Yes, in Emacs 25.



reply via email to

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