diff options
author | Franck Cuny <franck@fcuny.net> | 2022-03-23 07:47:47 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-03-23 07:47:47 -0700 |
commit | 5d403d3e3b9205fa286b01b3fd32080dfbb7394f (patch) | |
tree | a49caaf97b56ddcf7ff8fda4fd1d450f666abc99 /emacs/custom | |
parent | rename fcuny-navigation to my-navigation (diff) | |
download | emacs.d-5d403d3e3b9205fa286b01b3fd32080dfbb7394f.tar.gz |
rename fcuny-edit to my-edit
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/my-edit.el (renamed from emacs/custom/fcuny-edit.el) | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/emacs/custom/fcuny-edit.el b/emacs/custom/my-edit.el index d40fd06..eecd557 100644 --- a/emacs/custom/fcuny-edit.el +++ b/emacs/custom/my-edit.el @@ -1,4 +1,4 @@ -;;; fcuny-edit.el --- Configure parts related to editing +;;; my-edit.el --- Configure parts related to editing ;;; Commentary: ;;; Code: @@ -12,18 +12,16 @@ (global-auto-revert-mode t)) (use-package whitespace - :hook ((prog-mode . fcuny/whitespace-setup) - (conf-mode . fcuny/whitespace-setup) - (outline-mode . fcuny/whitespace-setup) - (yaml-mode . fcuny/whitespace-setup)) - + :preface + (defun my/whitespace-setup () + (setq show-trailing-whitespace t)) + :hook ((prog-mode . my/whitespace-setup) + (conf-mode . my/whitespace-setup) + (outline-mode . my/whitespace-setup) + (yaml-mode . my/whitespace-setup)) :custom (whitespace-style '(face)) - (show-trailing-whitespace nil) - - :init - (defun fcuny/whitespace-setup () - (setq show-trailing-whitespace t))) + (show-trailing-whitespace nil)) (use-package electric-pair-mode :commands electric-pair-mode @@ -48,5 +46,5 @@ ;; switched to it using C-x C-q). (setq view-read-only t) -(provide 'fcuny-edit) -;;; fcuny-edit.el ends here +(provide 'my-edit) +;;; my-edit.el ends here |