Backport trunk 2013-03-26T00:42:08Z!monnier@iro.umontreal.ca em-prompt fix

* lisp/eshell/em-prompt.el (eshell-emit-prompt):
Make sure we can't insert into the prompt either.

Fixes: debbugs:13963
This commit is contained in:
Stefan Monnier
2013-04-06 16:05:53 -07:00
committed by Glenn Morris
parent b011a6e801
commit f6ae5c5df1
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2013-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
* eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
into the prompt either (bug#13963).
2013-03-26 Fabián Ezequiel Gallina <fabian@anue.biz>
Un-indent after "pass" and "return" statements (Bug#13888)

View File

@@ -122,6 +122,7 @@ arriving, or after."
(add-text-properties 0 (length prompt)
'(read-only t
face eshell-prompt
front-sticky (face read-only)
rear-nonsticky (face read-only))
prompt))
(eshell-interactive-print prompt)))