diff options
| author | bard <[email protected]> | 2023-10-18 04:40:03 -0400 |
|---|---|---|
| committer | bard <[email protected]> | 2023-10-18 04:40:03 -0400 |
| commit | b0426cc6cc1f777397b67aae8620fc106182fd9d (patch) | |
| tree | 931f7fb330acb8c5ab4aec502bb21282d479fb85 /bard-emacs-modules/bard-emacs-ui.el | |
| parent | 349d6965f0f197439b1d1f5f63d434328b92e2fe (diff) | |
zenburn theme
Diffstat (limited to 'bard-emacs-modules/bard-emacs-ui.el')
| -rw-r--r-- | bard-emacs-modules/bard-emacs-ui.el | 16 |
1 files changed, 2 insertions, 14 deletions
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 - (("<f9>" . bard/olivetti-toggle-interactive))) + (("<f9>" . bard/olivetti-toggle))) (provide 'bard-emacs-ui) |
