forked from colonelpanic/dotfiles
[Emacs] Use org-wild-notifier-additional-environment-regexes
This commit is contained in:
parent
2e2d1f32ef
commit
e351ce43b1
@ -135,7 +135,6 @@ file uses lexical scoping.
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package auto-compile
|
(use-package auto-compile
|
||||||
:demand t
|
:demand t
|
||||||
:straight t
|
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(auto-compile-on-load-mode)
|
(auto-compile-on-load-mode)
|
||||||
|
@ -848,16 +848,16 @@ alphanumeric characters only."
|
|||||||
** org-wild-notifier
|
** org-wild-notifier
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org-wild-notifier
|
(use-package org-wild-notifier
|
||||||
:straight (org-wild-notifier :type git :host github :repo "colonelpanic8/org-wild-notifier.el")
|
|
||||||
:after org
|
:after org
|
||||||
:custom
|
:custom
|
||||||
((org-wild-notifier-keyword-whitelist nil)
|
((org-wild-notifier-keyword-whitelist nil)
|
||||||
(org-wild-notifier-tags-blacklist '("nonotify"))
|
(org-wild-notifier-tags-blacklist '("nonotify"))
|
||||||
(org-wild-notifier-alert-time '(30 5 0))
|
(org-wild-notifier-alert-time '(30 5 0))
|
||||||
(org-wild-notifier-extra-alert-plist '(:persistent t))
|
(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
|
(org-wild-notifier-predicate-whitelist
|
||||||
`((lambda (marker)
|
`((lambda (marker)
|
||||||
,(async-inject-variables (rx (or "org-whoami")))
|
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(set-buffer (marker-buffer marker))
|
(set-buffer (marker-buffer marker))
|
||||||
(goto-char (marker-position marker))
|
(goto-char (marker-position marker))
|
||||||
|
Loading…
Reference in New Issue
Block a user