From 5efd3c0613c48455a532c87cc680b2636c61c610 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 1 Feb 2014 12:50:17 +0100 Subject: [PATCH] Inhibit read-only When testing with ~Emacs -Q~ I noticed that the fringe space could not be inserted because the prompt was read-only. --- eshell-fringe-status.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eshell-fringe-status.el b/eshell-fringe-status.el index 3d9e71a..7497126 100644 --- a/eshell-fringe-status.el +++ b/eshell-fringe-status.el @@ -95,7 +95,8 @@ window." (beginning-of-line) (let ((face (if (zerop eshell-last-command-status) 'eshell-fringe-status-success - 'eshell-fringe-status-failure))) + 'eshell-fringe-status-failure)) + (inhibit-read-only t)) (insert (propertize " " 'display `((left-fringe efs--arrow-bitmap ,face))))))))