summaryrefslogtreecommitdiffhomepage
path: root/lib/eos/jao-ednc.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-02-02 16:57:18 +0000
committerjao <jao@gnu.org>2021-02-02 16:57:18 +0000
commit188f5a8f66e5d45ada16130e9ea322a0f2d493ba (patch)
tree977d133ab07272c61c1a8e735c875daf263176f8 /lib/eos/jao-ednc.el
parent133fc14bdce86178356ab8ec73cacaf33c64811c (diff)
downloadelibs-188f5a8f66e5d45ada16130e9ea322a0f2d493ba.tar.gz
elibs-188f5a8f66e5d45ada16130e9ea322a0f2d493ba.tar.bz2
lib: ednc: don't track if not asked
Diffstat (limited to 'lib/eos/jao-ednc.el')
-rw-r--r--lib/eos/jao-ednc.el3
1 files changed, 2 insertions, 1 deletions
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)))