mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 08:14:15 +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
|
||||
'corfu-mode)
|
||||
:config
|
||||
(require 'corfu-hack))
|
||||
(when my-ec/enable-exwm
|
||||
(require 'corfu-hack)))
|
||||
|
||||
;; Magit
|
||||
(use-package magit)
|
||||
|
|
|
|||
|
|
@ -29,11 +29,12 @@
|
|||
;;; Code:
|
||||
|
||||
(defmacro use-exwm (&rest body)
|
||||
`(use-package exwm
|
||||
`(when my-ec/enable-exwm
|
||||
(use-package exwm
|
||||
:ensure nil
|
||||
:defer t
|
||||
:quelpa (exwm :fetcher ,(if (or noninteractive my-ec/at-ti) "github" "github-ssh") :repo "pestctrl/exwm")
|
||||
,@body))
|
||||
,@body)))
|
||||
|
||||
(provide 'use-exwm)
|
||||
;;; use-exwm.el ends here
|
||||
|
|
|
|||
Loading…
Reference in a new issue