[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New unwind-protect byte-compiler warning
From: |
Juri Linkov |
Subject: |
Re: New unwind-protect byte-compiler warning |
Date: |
Tue, 04 Apr 2023 19:10:12 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> This one:
>
> In mouse-wheel-global-text-scale:
> mwheel.el:450:6: Warning: ‘unwind-protect’ without unwind forms
>
> is because weʼre protecting against errors from
> `global-text-scale-adjust', but unlike `text-scale-{in,de}crease',
> that doesnʼt signal an error when you reach the scale limit.
>
> Juri, we can add an unwind form of `t', or switch it to
> `condition-case', whichever you prefer (Iʼm assuming perhaps
> pessimistically that `global-text-scale-adjust' might signal in
> future).
Sorry, I don't recognize this function. And indeed, in the
commit 1c3c8b6d58c9 I just moved it down.