From 52663428184b2f13611bcbdae8431fd9605b1d7e Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 13 Mar 2022 02:43:54 +0800 Subject: Add diminish package (emacs) --- .emacs.d/lisp/init-utils.el | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .emacs.d/lisp/init-utils.el (limited to '.emacs.d/lisp/init-utils.el') diff --git a/.emacs.d/lisp/init-utils.el b/.emacs.d/lisp/init-utils.el new file mode 100644 index 0000000..2f4118c --- /dev/null +++ b/.emacs.d/lisp/init-utils.el @@ -0,0 +1,5 @@ +(defun gx/diminish (mode &optional to-what) + (when (gx/maybe-require-package 'diminish) + (diminish mode to-what))) + +(provide 'init-utils) -- cgit v1.2.3