summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--account.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/account.el b/account.el
index d21a2e8..00c6e61 100644
--- a/account.el
+++ b/account.el
@@ -856,8 +856,10 @@ the displayed information.")
result)
(with-current-buffer
(get-buffer-create svg-buffer-name)
- (svg-print svg)
- (image-mode))
+ (let ((inhibit-read-only t))
+ (erase-buffer)
+ (svg-print svg)
+ (image-mode)))
(display-buffer
svg-buffer-name
(list