diff options
author | Amin Bandali <bandali@kelar.org> | 2025-02-09 02:09:16 -0500 |
---|---|---|
committer | Amin Bandali <bandali@kelar.org> | 2025-02-09 02:09:16 -0500 |
commit | 99332da43b8324814ca6c1af7f0076f83c8ce233 (patch) | |
tree | aa4e84443aa9be8e1fedf6e61867da43d109c5b7 /.emacs.d/init.el | |
parent | ec565f9daf3d2af52d83dae9dfbbde4652fd6601 (diff) | |
download | configs-99332da43b8324814ca6c1af7f0076f83c8ce233.tar.gz configs-99332da43b8324814ca6c1af7f0076f83c8ce233.tar.xz configs-99332da43b8324814ca6c1af7f0076f83c8ce233.zip |
Port the rest of my GNU Emacs configuration to use-package
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5500760..59b1744 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -118,10 +118,11 @@ plain variables. This means that `setopt' will execute any ;; Start Emacs server ;; https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.html -(run-with-idle-timer 0.5 nil #'require 'server) -(with-eval-after-load 'server - (declare-function server-edit "server") - (b/keymap-global-set "C-c F D" #'server-edit) +(use-package server + :defer 0.5 + :bind + ("C-c F D" . server-edit) + :config (declare-function server-running-p "server") (or (server-running-p) (server-mode))) @@ -149,11 +150,4 @@ plain variables. This means that `setopt' will execute any (require 'bandali-misc) (require 'bandali-po) - -;;; Emacs enhancements & auxiliary packages - -(use-package mml - :defer t - :delight " mml") - ;;; init.el ends here |