[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-suggesting Packages
|
From: |
Philip Kaludercic |
|
Subject: |
Re: Auto-suggesting Packages |
|
Date: |
Tue, 16 Jan 2024 09:26:34 +0000 |
Stephen Berman <stephen.berman@gmx.net> writes:
> On Tue, 16 Jan 2024 08:18:55 +0000 Philip Kaludercic <philipk@posteo.net>
> wrote:
>
>> I posted a patch like this a few months back and forgot about it, but
>> Sacha's Emacs News this weeks reminded me again. I took the code and
>> changed the default behaviour to indicate a package can be installed in
>> the mode line:
> [...]
>> +;;;; Autosuggest
> [...]
>> +(defvar package--autosugest-line-format
>> + '(:eval (package--autosugest-line-format)))
>> +(put 'package--autosugest-line-format 'risky-local-variable t)
> [...]
>> +(defun package--autosugest-line-format ()
> [...]
>> + `(package-autosuggest-mode (""
>> package--autosugest-line-format)))
>
> autosugest -> autosuggest
Thanks, fixed that.
> Steve Berman