From b0426cc6cc1f777397b67aae8620fc106182fd9d Mon Sep 17 00:00:00 2001 From: bard Date: Wed, 18 Oct 2023 04:40:03 -0400 Subject: zenburn theme --- bard-emacs-modules/bard-emacs-ui.el | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'bard-emacs-modules/bard-emacs-ui.el') diff --git a/bard-emacs-modules/bard-emacs-ui.el b/bard-emacs-modules/bard-emacs-ui.el index 9b80886..c76786a 100644 --- a/bard-emacs-modules/bard-emacs-ui.el +++ b/bard-emacs-modules/bard-emacs-ui.el @@ -52,20 +52,8 @@ ;; olivetti (use-package olivetti :config - (defun bard/olivetti-toggle-interactive () - (interactive) - "Distraction-free writing environment" - (if (equal olivetti-mode nil) - (progn - (text-scale-set 0.2) - (setq olivetti-body-width 100) - (olivetti-mode t)) - (progn - (olivetti-mode 0) - (text-scale-set 0) - (mixed-pitch-mode 0) - (setq cursor-type 'box)))) (defun bard/olivetti-toggle () + (interactive) "Distraction-free writing environment" (if (equal olivetti-mode nil) (progn @@ -78,7 +66,7 @@ (mixed-pitch-mode 0) (setq cursor-type 'box)))) :bind - (("" . bard/olivetti-toggle-interactive))) + (("" . bard/olivetti-toggle))) (provide 'bard-emacs-ui) -- cgit v1.2.3