diff options
| author | Gerd Moellmann | 1999-12-28 18:14:44 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-12-28 18:14:44 +0000 |
| commit | e83062243f0a06738263283ee405e163e7609fab (patch) | |
| tree | 413906adb98d4b67c79c75918355cda03532a19e | |
| parent | a3d4e58757504cd644e5c587c101b79a2ee5b619 (diff) | |
| download | emacs-e83062243f0a06738263283ee405e163e7609fab.tar.gz emacs-e83062243f0a06738263283ee405e163e7609fab.zip | |
(icomplete-exhibit): Adapt to prompt in buffer.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/icomplete.el | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1a8f0987689..21a6563710d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 1999-12-28 Gerd Moellmann <gerd@gnu.org> | 1 | 1999-12-28 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * icomplete.el (icomplete-exhibit): Adapt to prompt in buffer. | ||
| 4 | |||
| 3 | * progmodes/cc-cmds.el (c-fill-paragraph): Don't delete white | 5 | * progmodes/cc-cmds.el (c-fill-paragraph): Don't delete white |
| 4 | space in front of a C-style comment end. | 6 | space in front of a C-style comment end. |
| 5 | 7 | ||
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'." | |||
| 246 | Should be run via minibuffer `post-command-hook'. See `icomplete-mode' | 246 | Should be run via minibuffer `post-command-hook'. See `icomplete-mode' |
| 247 | and `minibuffer-setup-hook'." | 247 | and `minibuffer-setup-hook'." |
| 248 | (if (icomplete-simple-completing-p) | 248 | (if (icomplete-simple-completing-p) |
| 249 | (let ((contents (buffer-substring (point-min)(point-max))) | 249 | (let ((contents (buffer-substring (minibuffer-prompt-end)(point-max))) |
| 250 | (buffer-undo-list t)) | 250 | (buffer-undo-list t)) |
| 251 | (save-excursion | 251 | (save-excursion |
| 252 | (goto-char (point-max)) | 252 | (goto-char (point-max)) |