changeset 61878:75267b99e585

(inferior-emacs-lisp-mode): Set paragraph-separate buffer locally to "\\'". Replace obsolete `comint-use-prompt-regexp-instead-of-fields' with `comint-use-prompt-regexp'.
author Luc Teirlinck <teirllm@auburn.edu>
date Tue, 26 Apr 2005 23:21:47 +0000
parents 395f55ef5adc
children 2e910978106b
files lisp/ielm.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ielm.el	Tue Apr 26 23:18:05 2005 +0000
+++ b/lisp/ielm.el	Tue Apr 26 23:21:47 2005 +0000
@@ -482,6 +482,7 @@
   (interactive)
   (comint-mode)
   (setq comint-prompt-regexp (concat "^" (regexp-quote ielm-prompt)))
+  (set (make-local-variable 'paragraph-separate) "\\'")
   (make-local-variable 'paragraph-start)
   (setq paragraph-start comint-prompt-regexp)
   (setq comint-input-sender 'ielm-input-sender)
@@ -538,7 +539,7 @@
     ;; Add a silly header
     (insert ielm-header)
     (ielm-set-pm (point-max))
-    (unless comint-use-prompt-regexp-instead-of-fields
+    (unless comint-use-prompt-regexp
       (let ((inhibit-read-only t))
         (add-text-properties
          (point-min) (point-max)