Emacs: server with use-package
This commit is contained in:
parent
89e0ba9c7b
commit
077bc92c1f
1 changed files with 11 additions and 1 deletions
|
@ -219,9 +219,19 @@
|
||||||
;;
|
;;
|
||||||
;; all packages should be loaded with use-package
|
;; all packages should be loaded with use-package
|
||||||
|
|
||||||
|
;; server
|
||||||
|
(use-package server
|
||||||
|
:if window-system
|
||||||
|
:hook
|
||||||
|
((after-init-hook . server-start)
|
||||||
|
;; StumpWM interaction
|
||||||
|
(server-done-hook . (lambda ()
|
||||||
|
(shell-command
|
||||||
|
"stumpish 'eval (stumpwm::return-es-called-win stumpwm::*es-win*)'"))))
|
||||||
|
:init (setq server-raise-frame t))
|
||||||
|
|
||||||
;; which-key
|
;; which-key
|
||||||
;; Display available keybindings in popup
|
;; Display available keybindings in popup
|
||||||
|
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
:config
|
:config
|
||||||
(which-key-mode))
|
(which-key-mode))
|
||||||
|
|
Loading…
Reference in a new issue