[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Auto-suggesting Packages
From: |
Stephen Berman |
Subject: |
Re: Auto-suggesting Packages |
Date: |
Tue, 16 Jan 2024 10:01:05 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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
Steve Berman