From: Miles Bader Date: Fri, 5 Oct 2001 15:19:23 +0000 (+0000) Subject: (rfn-eshadow-update-overlay): Use `minibuffer-prompt-end'. X-Git-Tag: ttn-vms-21-2-B4~19706 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a01b78312abcb6cfc8ed0211d9640284e2f4da2a;p=emacs.git (rfn-eshadow-update-overlay): Use `minibuffer-prompt-end'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4f4574fd73b..2f14ba531f5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2001-10-06 Miles Bader + + * rfn-eshadow.el (rfn-eshadow-update-overlay): Use + `minibuffer-prompt-end'. + + * simple.el (previous-matching-history-element): Fix misplaced + parentheses. + 2001-10-05 Miles Bader * rfn-eshadow.el: New file. diff --git a/lisp/rfn-eshadow.el b/lisp/rfn-eshadow.el index bcc5dd7a8d1..38af012ee6b 100644 --- a/lisp/rfn-eshadow.el +++ b/lisp/rfn-eshadow.el @@ -180,13 +180,9 @@ been set up by `rfn-eshadow-setup-minibuffer'." ;; This is not really a correct implementation; it won't always do the ;; right thing in the presence of environment variables that ;; substitute-in-file-name would expand; currently it just assumes any - ;; environment variable contains an absolute filename. It doesn't - ;; handle MS-DOS-type drive specs like substitute-in-file-name does. + ;; environment variable contains an absolute filename. (save-excursion - ;; Note that this should use `minibuffer-prompt-end' instead of - ;; `field-end', but for now we use the latter so that it works - ;; properly with old definitions of minibuffer-prompt-end. - (goto-char (field-end (point-min))) + (goto-char (minibuffer-prompt-end)) ;; Update the overlay (which will evaporate if it's empty). (move-overlay rfn-eshadow-overlay (point)