[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in ielm: patch. Related problem with end-of-line.
From: |
Luc Teirlinck |
Subject: |
Re: bug in ielm: patch. Related problem with end-of-line. |
Date: |
Sun, 22 Sep 2002 22:50:43 -0500 (CDT) |
Sorry, I forgot to properly account for
comint-use-prompt-regexp-instead-of-fields in my previous patch.
Corrected change log and patch:
Change log:
2002-09-22 Luc Teirlinck <address@hidden>
* ielm.el (inferior-emacs-lisp-mode): Treat the header as
output, if comint-use-prompt-regexp-instead-of-fields is nil.
Patch:
===File ~/ielm-diff2========================================
cd /usr/local/share/emacs/21.3.50/lisp/
diff -c /usr/local/share/emacs/21.3.50/lisp/ielmold.el
/usr/local/share/emacs/21.3.50/lisp/ielm.el
*** /usr/local/share/emacs/21.3.50/lisp/ielmold.el Thu Sep 19 10:35:10 2002
--- /usr/local/share/emacs/21.3.50/lisp/ielm.el Sun Sep 22 22:26:24 2002
***************
*** 510,515 ****
--- 510,519 ----
;; 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))
Diff finished at Sun Sep 22 22:39:51
============================================================