Skip to content

Commit

Permalink
refactor: move transient to me-builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 26, 2023
1 parent 6e00f68 commit 0761b3d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
16 changes: 16 additions & 0 deletions core/me-builtin.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
;;; me-builtin.el --- Customization of some of Emacs' builtin libraries -*- lexical-binding: t; -*-

;; Copyright (C) 2022-2023 Abdelhak Bougouffa

;; Author: Abdelhak Bougouffa (concat "abougouffa" "@" "fedora" "project" "." "org")


(use-package transient
:straight (:type built-in)
:config
;; Map ESC and q to quit transient
(define-key transient-map [escape] #'transient-quit-one)
(define-key transient-map (kbd "q") #'transient-quit-one))


(provide 'me-builtin)
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
(when (memq 'me-splash minemacs-core-modules) '(me-splash))
'(me-bootstrap)
(when (< emacs-major-version 29) '(me-compat))
'(me-gc)
'(me-builtin me-gc)
minemacs-core-modules)))

;; Load MinEmacs modules
Expand Down
7 changes: 0 additions & 7 deletions modules/me-vc.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@
:config
(magit-todos-mode 1))

(use-package transient
:straight t
:config
;; Map ESC and q to quit transient
(define-key transient-map [escape] #'transient-quit-one)
(define-key transient-map (kbd "q") #'transient-quit-one))

(when (+emacs-features-p 'sqlite3)
;; Needed to set `forge-database-connector' to `sqlite-builtin'
(use-package emacsql-sqlite-builtin
Expand Down

0 comments on commit 0761b3d

Please sign in to comment.