changeset 47626:9e91beee44a6

(inferior-emacs-lisp-mode): Treat the header as output, if comint-use-prompt-regexp-instead-of-fields is nil.
author Richard M. Stallman <rms@gnu.org>
date Thu, 26 Sep 2002 21:56:42 +0000
parents 8a11d295c3f3
children 33bcb75e91e8
files lisp/ielm.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ielm.el	Thu Sep 26 20:37:46 2002 +0000
+++ b/lisp/ielm.el	Thu Sep 26 21:56:42 2002 +0000
@@ -510,6 +510,10 @@
     ;; Add a silly header
     (insert ielm-header)
     (ielm-set-pm (point-max))
+    (unless comint-use-prompt-regexp-instead-of-fields
+      (add-text-properties
+       1 (point-max)
+       '(rear-nonsticky t field output inhibit-line-move-field-capture t)))
     (comint-output-filter (ielm-process) ielm-prompt)
     (set-marker comint-last-input-start (ielm-pm))
     (set-process-filter (get-buffer-process (current-buffer)) 'comint-output-filter))