Toot

Written by Omar Antolín on 2024-11-11 at 05:50

I find the confirmation prompt when updating packages in #Emacs pretty hard to read because of MELPA's very long version numbers, so instead I've chosen to just display package names:

(defun just-package-names (fn &rest args)

(cl-letf (((symbol-function 'package-desc-full-name)

           (lambda (pkg) (symbol-name (package-desc-name pkg)))))

  (apply fn args)))

(advice-add 'package-menu--list-to-prompt :around 'just-package-names)

=> More informations about this toot | View the thread | More toots from oantolin@mathstodon.xyz

Mentions

Tags

=> View emacs tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113462754546647411
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
235.435185 milliseconds
Gemini-to-HTML Time
0.436769 milliseconds

This content has been proxied by September (3851b).