[Emacs] Use org-wild-notifier-additional-environment-regexes

This commit is contained in:
Ivan Malison 2023-08-31 15:47:05 -06:00
parent 2e2d1f32ef
commit e351ce43b1
2 changed files with 2 additions and 3 deletions

View File

@ -135,7 +135,6 @@ file uses lexical scoping.
#+BEGIN_SRC emacs-lisp
(use-package auto-compile
:demand t
:straight t
:config
(progn
(auto-compile-on-load-mode)

View File

@ -848,16 +848,16 @@ alphanumeric characters only."
** org-wild-notifier
#+begin_src emacs-lisp
(use-package org-wild-notifier
:straight (org-wild-notifier :type git :host github :repo "colonelpanic8/org-wild-notifier.el")
:after org
:custom
((org-wild-notifier-keyword-whitelist nil)
(org-wild-notifier-tags-blacklist '("nonotify"))
(org-wild-notifier-alert-time '(30 5 0))
(org-wild-notifier-extra-alert-plist '(:persistent t))
(org-wild-notifier-additional-environment-regexes
(list (rx string-start "imalison:org-whoami")))
(org-wild-notifier-predicate-whitelist
`((lambda (marker)
,(async-inject-variables (rx (or "org-whoami")))
(save-excursion
(set-buffer (marker-buffer marker))
(goto-char (marker-position marker))