this post was submitted on 23 Nov 2023
2 points (100.0% liked)

Emacs

312 readers
3 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

In my config, I have the followings line:

(nerd-icons-install-fonts)

How do I prevent this from happening multiple times? I just need it, when it is not installed.

you are viewing a single comment's thread
view the rest of the comments
[–] Hammar_Morty@alien.top 1 points 11 months ago (1 children)

These types of install functions I add to a package-upgrade-all hook. Still redundant but only when you run package-upgrade-all which shouldn't be often

[–] argsmatter@alien.top 1 points 11 months ago

Can you share this code, please. Would it run, when you install emacs fresh?