diff options
author | Guangxiong Lin <[email protected]> | 2022-03-13 02:43:54 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-13 02:43:54 +0800 |
commit | 52663428184b2f13611bcbdae8431fd9605b1d7e (patch) | |
tree | 111f3ad8721267d827c1b3abe83e1fe4ab87d8f7 /.emacs.d/lisp/init-utils.el | |
parent | 1957e46551dfd1acfcd53fec17fd9630304a11db (diff) | |
download | dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.tar.gz dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.tar.bz2 dotfiles-52663428184b2f13611bcbdae8431fd9605b1d7e.zip |
Add diminish package (emacs)
Diffstat (limited to '.emacs.d/lisp/init-utils.el')
-rw-r--r-- | .emacs.d/lisp/init-utils.el | 5 |
1 files changed, 5 insertions, 0 deletions
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) |