]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Mar 2013 00:42:08 +0000 (20:42 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Mar 2013 00:42:08 +0000 (20:42 -0400)
into the prompt either.

Fixes: debbugs:13963
lisp/ChangeLog
lisp/eshell/em-prompt.el

index ffd158abe60ec0a38c308d8d741c8cb0559a9829..b6ec0480a2c39a16f37972818beec4f7dcdfa040 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-26  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-25  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
index c1c4d4730f9146d41c627698e07a0071187846d1..c5429c59bd66d57842918ed68f282546bbaa4902 100644 (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)))