aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-05-11 20:16:20 +0800
committerGuangxiong Lin <[email protected]>2022-05-11 20:16:20 +0800
commitafe2692e4d5624662fb158cea1c09ee2170ec5a5 (patch)
tree6325a3939e567d9ca1ac3e9b187971a6b6fc25f0
parentc19dfc332d269d64f2ef5a02c837e2b3bd75d541 (diff)
downloaddotfiles-afe2692e4d5624662fb158cea1c09ee2170ec5a5.tar.gz
dotfiles-afe2692e4d5624662fb158cea1c09ee2170ec5a5.tar.bz2
dotfiles-afe2692e4d5624662fb158cea1c09ee2170ec5a5.zip
Use edwina in emacs
-rw-r--r--.emacs.d/lisp/init-misc.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index a34b0b5..2dc3dd5 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -108,4 +108,9 @@
(add-hook 'after-init-hook #'save-place-mode 'append)
+(when (gx/maybe-require-package 'edwina)
+ (setq display-buffer-base-action '(display-buffer-below-selected))
+ (autoload #'edwina-mode "edwina" nil t)
+ (add-hook 'after-init-hook #'edwina-mode 'append))
+
(provide 'init-misc)