From 85ab9f4e9440f81d46684d2461acb296c10978b7 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Tue, 26 Apr 2005 23:26:20 +0000 Subject: [PATCH] (inferior-emacs-lisp-mode): Set paragraph-separate buffer locally to "\\'". Replace obsolete `comint-use-prompt-regexp-instead-of-fields' with `comint-use-prompt-regexp'. --- lisp/ChangeLog | 29 +++++++++++++++++++++++++++++ lisp/ielm.el | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 959961d5844..1f5290a749d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,32 @@ +2005-04-26 Luc Teirlinck + + * shell.el (shell-prompt-pattern): Doc fix. + (shell-mode): Set paragraph-separate buffer locally to "\\'". + + * comint.el (comint-prompt-regexp, comint-get-old-input) + (comint-use-prompt-regexp) + (comint-use-prompt-regexp-instead-of-fields) + (comint-replace-by-expanded-history, comint-send-input) + (comint-output-filter, comint-get-old-input-default) + (comint-line-beginning-position, comint-bol, comint-show-output) + (comint-backward-matching-input, comint-forward-matching-input) + (comint-next-prompt, comint-previous-prompt): Rename + `comint-use-prompt-regexp-instead-of-fields' to + `comint-use-prompt-regexp'. Keep old name as alias and declare + obsolete. + (comint-use-prompt-regexp): Shorten first line of doc string. + + * ielm.el (inferior-emacs-lisp-mode): Adapt to above name change. + Set paragraph-separate buffer locally to "\\'". + + * hippie-exp.el (try-expand-line, try-expand-line-all-buffers): + Adapt to above name change. + + * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp) + (smbclient-prompt-regexp): Ditto. + + * progmodes/inf-lisp.el (inferior-lisp-prompt): Ditto. + 2005-04-27 Nick Roberts * progmodes/gdb-ui.el (gdb-location-alist): Rename from diff --git a/lisp/ielm.el b/lisp/ielm.el index 5ef6ff1e1eb..65654ca2c7a 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el @@ -482,6 +482,7 @@ Customized bindings may be defined in `ielm-map', which currently contains: (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 @@ Customized bindings may be defined in `ielm-map', which currently contains: ;; 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) -- 2.39.2