mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 18:41:25 -08:00
(rfn-eshadow-update-overlay): Use `minibuffer-prompt-end'.
This commit is contained in:
parent
6d74d713e0
commit
a01b78312a
2 changed files with 10 additions and 6 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2001-10-06 Miles Bader <miles@gnu.org>
|
||||
|
||||
* 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 <miles@gnu.org>
|
||||
|
||||
* rfn-eshadow.el: New file.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue