Skip to content

Commit

Permalink
tweak(eaf): use :when to condition use-package
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 28, 2023
1 parent 10a7dea commit a182961
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/obsolete/me-eaf.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@

;;; Code:

(when (+emacs-features-p 'lucid)
;; EAF don't work on LUCID, a.k.a. XEmacs.
(add-to-list 'minemacs-disabled-packages 'eaf))

(use-package eaf
:straight (:host github :repo "emacs-eaf/emacs-application-framework" :files (:defaults "*"))
:when (+emacs-features-p 'lucid) ; EAF don't work on LUCID, a.k.a. XEmacs.
:hook (minemacs-build-functions . eaf-install-and-update)
:init
(+map! "oo" #'eaf-open)
Expand Down

0 comments on commit a182961

Please sign in to comment.