From 188f5a8f66e5d45ada16130e9ea322a0f2d493ba Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 2 Feb 2021 16:57:18 +0000 Subject: lib: ednc: don't track if not asked --- lib/eos/jao-ednc.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/eos/jao-ednc.el') diff --git a/lib/eos/jao-ednc.el b/lib/eos/jao-ednc.el index 8e55a56..71f1ce4 100644 --- a/lib/eos/jao-ednc.el +++ b/lib/eos/jao-ednc.el @@ -81,7 +81,8 @@ (defun jao-ednc--default-handler (notification newp) (if (not newp) (jao-ednc--clean notification) - (tracking-add-buffer (get-buffer ednc-log-name) '(jao-ednc-tracking)) + (when jao-ednc-use-tracking + (tracking-add-buffer (get-buffer ednc-log-name) '(jao-ednc-tracking))) (push notification jao-ednc--notifications) (jao-ednc--show-last))) -- cgit v1.2.3