From: Stefan Monnier Date: Tue, 26 Mar 2013 00:42:08 +0000 (-0400) Subject: * lisp/eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~526^2~93 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8d4c974ee04e4b9e452bcc1b7cf20f5cf76cc6dd;p=emacs.git * lisp/eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert into the prompt either. Fixes: debbugs:13963 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ffd158abe60..b6ec0480a2c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-03-26 Stefan Monnier + + * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert + into the prompt either (bug#13963). + 2013-03-25 Stefan Monnier * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error" diff --git a/lisp/eshell/em-prompt.el b/lisp/eshell/em-prompt.el index c1c4d4730f9..c5429c59bd6 100644 --- a/lisp/eshell/em-prompt.el +++ b/lisp/eshell/em-prompt.el @@ -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)))