diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-12-28 18:14:44 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-12-28 18:14:44 +0000 |
commit | e83062243f0a06738263283ee405e163e7609fab (patch) | |
tree | 413906adb98d4b67c79c75918355cda03532a19e /lisp/icomplete.el | |
parent | a3d4e58757504cd644e5c587c101b79a2ee5b619 (diff) | |
download | emacs-e83062243f0a06738263283ee405e163e7609fab.tar.gz |
(icomplete-exhibit): Adapt to prompt in buffer.
Diffstat (limited to 'lisp/icomplete.el')
-rw-r--r-- | lisp/icomplete.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 1e49e0ca7bf..22f63b670ed 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -246,7 +246,7 @@ and `minibuffer-setup-hook'." Should be run via minibuffer `post-command-hook'. See `icomplete-mode' and `minibuffer-setup-hook'." (if (icomplete-simple-completing-p) - (let ((contents (buffer-substring (point-min)(point-max))) + (let ((contents (buffer-substring (minibuffer-prompt-end)(point-max))) (buffer-undo-list t)) (save-excursion (goto-char (point-max)) |