Install Delight package

Install delight to hide minor modes in modeline

Silence org-babel results
This commit is contained in:
Evie Litherland-Smith 2024-09-06 08:10:38 +01:00
parent bd3c281bdc
commit 9c04ec869f

View file

@ -1,6 +1,7 @@
#+title: Emacs Config #+title: Emacs Config
#+author: Evie Litherland-Smith #+author: Evie Litherland-Smith
#+email: evie@xenia.me.uk #+email: evie@xenia.me.uk
#+property: header-args:emacs-lisp :results silent
Personal Emacs configuration. Clone to =~/.config/emacs/= (or Personal Emacs configuration. Clone to =~/.config/emacs/= (or
=~/.emacs.d/=) and install specified plugins using [[file:install.el][the install script]]. =~/.emacs.d/=) and install specified plugins using [[file:install.el][the install script]].
* Config * Config
@ -28,6 +29,16 @@ Configure package archives and initialise.
(package-upgrade-all nil) (package-upgrade-all nil)
(package-install-selected-packages t)) (package-install-selected-packages t))
#+end_src #+end_src
** Delight for minor-modes
Install =delight= to hide certain minor-modes from modeline
#+begin_src emacs-lisp
(add-to-list 'package-selected-packages 'delight)
(use-package delight
:demand t
:if (package-installed-p 'delight))
#+end_src
** Defaults ** Defaults
Set some useful defaults. Some of these should be moved to relevant Set some useful defaults. Some of these should be moved to relevant
section of configuration. section of configuration.