diff options
author | Tom Willemse | 2014-02-01 12:50:17 +0100 |
---|---|---|
committer | Tom Willemse | 2014-02-01 12:50:17 +0100 |
commit | 5efd3c0613c48455a532c87cc680b2636c61c610 (patch) | |
tree | da5b14b257eab1f1e4f2513a6b1c195dda2893da | |
parent | 2f698a53d784d2df26da7354739a90065697c0fd (diff) | |
download | eshell-fringe-status-5efd3c0613c48455a532c87cc680b2636c61c610.tar.gz eshell-fringe-status-5efd3c0613c48455a532c87cc680b2636c61c610.zip |
Inhibit read-only
When testing with ~Emacs -Q~ I noticed that the fringe space could not
be inserted because the prompt was read-only.
-rw-r--r-- | eshell-fringe-status.el | 3 |
1 files changed, 2 insertions, 1 deletions
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)))))))) |