mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Don't enable exwm when I don't ask for it
This commit is contained in:
parent
7ae61d6389
commit
a9c88a72c0
2 changed files with 5 additions and 3 deletions
|
|
@ -485,7 +485,8 @@
|
||||||
(add-hook 'prog-mode-hook
|
(add-hook 'prog-mode-hook
|
||||||
'corfu-mode)
|
'corfu-mode)
|
||||||
:config
|
:config
|
||||||
(require 'corfu-hack))
|
(when my-ec/enable-exwm
|
||||||
|
(require 'corfu-hack)))
|
||||||
|
|
||||||
;; Magit
|
;; Magit
|
||||||
(use-package magit)
|
(use-package magit)
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,12 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(defmacro use-exwm (&rest body)
|
(defmacro use-exwm (&rest body)
|
||||||
`(use-package exwm
|
`(when my-ec/enable-exwm
|
||||||
|
(use-package exwm
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:defer t
|
:defer t
|
||||||
:quelpa (exwm :fetcher ,(if (or noninteractive my-ec/at-ti) "github" "github-ssh") :repo "pestctrl/exwm")
|
:quelpa (exwm :fetcher ,(if (or noninteractive my-ec/at-ti) "github" "github-ssh") :repo "pestctrl/exwm")
|
||||||
,@body))
|
,@body)))
|
||||||
|
|
||||||
(provide 'use-exwm)
|
(provide 'use-exwm)
|
||||||
;;; use-exwm.el ends here
|
;;; use-exwm.el ends here
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue