diff options
author | jao <jao@gnu.org> | 2021-02-02 16:57:18 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-02-02 16:57:18 +0000 |
commit | 188f5a8f66e5d45ada16130e9ea322a0f2d493ba (patch) | |
tree | 977d133ab07272c61c1a8e735c875daf263176f8 /lib/eos | |
parent | 133fc14bdce86178356ab8ec73cacaf33c64811c (diff) | |
download | elibs-188f5a8f66e5d45ada16130e9ea322a0f2d493ba.tar.gz elibs-188f5a8f66e5d45ada16130e9ea322a0f2d493ba.tar.bz2 |
lib: ednc: don't track if not asked
Diffstat (limited to 'lib/eos')
-rw-r--r-- | lib/eos/jao-ednc.el | 3 |
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))) |