diff options
| author | Stefan Monnier | 2013-04-06 16:05:53 -0700 |
|---|---|---|
| committer | Glenn Morris | 2013-04-06 16:05:53 -0700 |
| commit | f6ae5c5df1abb3f1aaa353c20c11c2e3c8fb0ae2 (patch) | |
| tree | 644fe6bfe63f4a2cb7302476dd5b37957396eda1 /lisp/eshell | |
| parent | b011a6e8011c51e09f28d528a541509c17d4eed0 (diff) | |
| download | emacs-f6ae5c5df1abb3f1aaa353c20c11c2e3c8fb0ae2.tar.gz emacs-f6ae5c5df1abb3f1aaa353c20c11c2e3c8fb0ae2.zip | |
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
Diffstat (limited to 'lisp/eshell')
| -rw-r--r-- | lisp/eshell/em-prompt.el | 1 |
1 files changed, 1 insertions, 0 deletions
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." | |||
| 122 | (add-text-properties 0 (length prompt) | 122 | (add-text-properties 0 (length prompt) |
| 123 | '(read-only t | 123 | '(read-only t |
| 124 | face eshell-prompt | 124 | face eshell-prompt |
| 125 | front-sticky (face read-only) | ||
| 125 | rear-nonsticky (face read-only)) | 126 | rear-nonsticky (face read-only)) |
| 126 | prompt)) | 127 | prompt)) |
| 127 | (eshell-interactive-print prompt))) | 128 | (eshell-interactive-print prompt))) |