themkat/.emacs.d

Handling no-window related error and warnings in Actions

themkat opened this issue · 1 comments

After updating the Emacs version used, the pipeline fails due to an error because of a function being void in non-X/no-window environments (like Actions). Is there a simple ways to solve this? Polyfills of sorts? Or will it gradually solve itself once more and more people upgrade their Emacs versions?

Should probably just use conditional loading in use-package and display-graphics-p for this:
https://github.com/jwiegley/use-package#conditional-loading

Using at least the latter with the tangle-options for source code blocks seems to solve most issues.

Think I was overthinking it a bit when making this issue 😒