diff options
-rw-r--r-- | emms-tag-editor.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/emms-tag-editor.el b/emms-tag-editor.el index 09cc57f..0fc4149 100644 --- a/emms-tag-editor.el +++ b/emms-tag-editor.el @@ -288,8 +288,9 @@ will only take on the tracks in the region." (unwind-protect (save-excursion (save-restriction - (if (and mark-active transient-mark-mode) - (narrow-to-region (region-beginning) (region-end))) + (when (and mark-active transient-mark-mode) + (narrow-to-region (region-beginning) (region-end)) + (deactivate-mark)) (setq tag (concat (regexp-quote tag) "[ \t]+=[ \t]+")) (goto-char (point-min)) (map-y-or-n-p |