gnu: Fix emacs-exwm.

* gnu/packages/emacs-xyz.scm (emacs-exwm): Fix the package.

EXWM project team removed exwm-config-example. Now exwm will not work if
the user doesn't have any configuration in ~/.emacs (or any other emacs init
file). I suggest leaving exwm-enable and a link to the project's wiki
page. So the user will have at least a fullscreen emacs window to work with.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Change-Id: If415c91899f694e59f21b519d42548dde89c0628
This commit is contained in:
Adam Quandour 2024-10-14 21:30:03 +03:00 committed by Nicolas Goaziou
parent 88e4aaec0f
commit c6ed9bd30d
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -20486,10 +20486,12 @@ (define-public emacs-exwm
(load-file "~/.exwm"))
((not (featurep 'exwm))
(require 'exwm)
(require 'exwm-config)
(exwm-config-example)
(exwm-enable)
(message (concat "exwm configuration not found. "
"Falling back to default configuration...")))))))
"Falling back to minimal configuration. "
"An example configuration can be found here "
"https://github.com/emacs-exwm/exwm"
"/wiki/Configuration-Example")))))))
(chmod exwm-executable #o555)))))))
(home-page "https://github.com/ch11ng/exwm")
(description