aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Elmes <emms@repose.cx>2006-06-23 15:09:00 +0000
committerDamien Elmes <emms@repose.cx>2006-06-23 15:09:00 +0000
commitce36e03ee5fe51ad8dc4ef0b4f15f6036624230b (patch)
treea7d73343f3e95d9c7fae2be8d493bf544f623fee
parent43d2e4e473c8561dc7ad54813bb5aad82981face (diff)
browser: fix bug with read-only buffer
darcs-hash:20060623150933-4e3e3-7a835c979f1f6283d0aeda7c4cbc55653f2a3e74.gz
-rw-r--r--emms-browser.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/emms-browser.el b/emms-browser.el
index 936d209..01dd7f8 100644
--- a/emms-browser.el
+++ b/emms-browser.el
@@ -1085,9 +1085,10 @@ included."
(let* ((prompt (format "Searching with %S: " fields))
(str (read-string prompt)))
(emms-browser-search-buffer-go)
- (emms-browser-render-search
- (emms-browser-filter-cache
- (list (list fields str))))
+ (emms-with-inhibit-read-only-t
+ (emms-browser-render-search
+ (emms-browser-filter-cache
+ (list (list fields str)))))
(emms-browser-expand-all)
(goto-char (point-min))))