aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Shangreaux <grant@unabridgedsoftware.com>2021-05-23 12:19:03 -0500
committerGrant Shangreaux <grant@unabridgedsoftware.com>2021-05-23 12:19:03 -0500
commite5b53f624a16c0eafaa97500225404e74224ff36 (patch)
tree3d765950b0081da3e04154ea0567c650878a5dcf
parent7dc68851d417343917f1c3d7eaaeef87b16b4690 (diff)
Fix: circular dependency adding log buffer var for tracktag
-rw-r--r--emms-tag-tracktag.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emms-tag-tracktag.el b/emms-tag-tracktag.el
index 71c6ff5..fe7390f 100644
--- a/emms-tag-tracktag.el
+++ b/emms-tag-tracktag.el
@@ -43,6 +43,10 @@
(info-note . comment))
"An alist mapping info-* fields to tracktag fields.")
+(defvar emms-tag-tracktag-log-buffer "*EMMS-LOG*"
+ "Name of emms-tag-tractack's log buffer.
+Defaults to the same value as emms-tag-editor-log-buffer")
+
(defun emms-tag-tracktag--map-track-info (track)
(seq-filter (lambda (cell) (cdr cell))
(mapcar (lambda (pair)
@@ -64,7 +68,7 @@
(defun emms-tag-tracktag-file (track)
(apply #'call-process
"tracktag" nil
- (get-buffer-create emms-tag-editor-log-buffer)
+ (get-buffer-create emms-tag-tracktag-log-buffer)
nil
"-Vdebug"
(emms-tag-tracktag--build-args track)))