[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emms-help] bug in emms-tag-editor-tag-file

From: William Xu
Subject: [emms-help] bug in emms-tag-editor-tag-file
Date: Mon, 23 Nov 2009 14:25:00 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi !

In the last line, `filename' is undefined.  I'm not using it, so
can't fix it..(it comes up as compiler warnings)

(defun emms-tag-editor-tag-file (track program tags)
  "Change TAGS in FILE, using PROGRAM.
Valid tags are given by `emms-tag-editor-tagfile-functions'."
  (let (args val)
    (mapc (lambda (tag)
            (setq val (emms-track-get track (car tag)))
            (if (and val (stringp val))
                (setq args (append (list (concat "-" (cdr tag)) val) args))))
    (apply 'call-process program
           nil (get-buffer-create emms-tag-editor-log-buffer) nil
           (nconc args (list filename)))))

- William

reply via email to

[Prev in Thread] Current Thread [Next in Thread]