diff options
-rw-r--r-- | config.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config.org b/config.org index eb040e7..b20f85f 100644 --- a/config.org +++ b/config.org | |||
@@ -1430,6 +1430,22 @@ see also | |||
1430 | (define-key acdw/map (kbd "C-=") #'er/expand-region) | 1430 | (define-key acdw/map (kbd "C-=") #'er/expand-region) |
1431 | #+end_src | 1431 | #+end_src |
1432 | 1432 | ||
1433 | *** Pulse the modified region with goggles | ||
1434 | |||
1435 | #+begin_src emacs-lisp :noweb-ref packages | ||
1436 | (straight-use-package 'goggles) | ||
1437 | #+end_src | ||
1438 | |||
1439 | #+begin_src emacs-lisp :noweb-ref hooks | ||
1440 | (defun fix--goggles-mode () | ||
1441 | "Fix goggles-mode to blackout the lighter." | ||
1442 | (goggles-mode) | ||
1443 | (blackout 'goggles-mode)) | ||
1444 | |||
1445 | (add-hook 'text-mode-hook #'fix--goggles-mode) | ||
1446 | (add-hook 'prog-mode-hook #'fix--goggles-mode) | ||
1447 | #+end_src | ||
1448 | |||
1433 | ** Undo :package: | 1449 | ** Undo :package: |
1434 | 1450 | ||
1435 | *** Undo Fu | 1451 | *** Undo Fu |