[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/switchy-window 682bcec0a6: Release 1.2: no code cha
From: |
Tassilo Horn |
Subject: |
Re: [elpa] externals/switchy-window 682bcec0a6: Release 1.2: no code changes but don't suggest adding lambdas to hooks |
Date: |
Tue, 11 Apr 2023 20:59:33 +0200 (GMT+02:00) |
11.04.2023 20:37:34 Eli Zaretskii <eliz@gnu.org>:
>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>
>>> Why not just
>>>
>>> (keymap-set switchy-window-minor-mode-map
>>> "<remap> <other-window>" #'switchy-window)
>>>
>>> ?
>>
>> That's what I've tried first but it didn't work, i.e., C-x o was still
>> other-window. I've now tried it again, this time successfully.
> keymap-set is new in Emacs 29, no?
Yes, and it's provided by the compat package which switchy-window requires so
should work fine even with older emacs versions.
Bye,
Tassilo