summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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)))