summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAdam Quandour <adam.quandour@gmail.com>2024-10-14 21:30:03 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2024-10-15 08:57:14 +0200
commitc6ed9bd30da3d21a20d8c4be26926f178764efd0 (patch)
tree097f4e08cb084c0c7da475f46cda0c48959ed14a /gnu
parent88e4aaec0f2dc267b324df877b4861e734033500 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 823db069d5..d39b424fe0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20486,10 +20486,12 @@ It should enable you to implement low-level X11 applications.")
(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