diff options
| author | Stefan Monnier | 2008-04-09 19:33:56 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-04-09 19:33:56 +0000 |
| commit | ba5ff07b2a19846cc8624bfe7f802bc9d38a4867 (patch) | |
| tree | 004000e50574173045cde8e079b1cc2937f38984 /src | |
| parent | b2ca37cdf37072d90032d5a9b705c71c188312a4 (diff) | |
| download | emacs-ba5ff07b2a19846cc8624bfe7f802bc9d38a4867.tar.gz emacs-ba5ff07b2a19846cc8624bfe7f802bc9d38a4867.zip | |
* minibuffer.el (minibuffer): Move group from cus-edit.el.
(completion-auto-help): Move from C code.
(minibuffer--maybe-completion-help): Remove.
(minibuffer--bitset): New function.
(minibuffer--do-completion): Rename from minibuffer-do-completion.
Renumber a bit. Really complete on string *before* point.
Add argument used for word-completion.
Join trailing / in completion with following text, as done in
minibuffer-complete-word.
Handle new value `lazy' for completion-auto-help.
(minibuffer-try-word-completion): New function extracted from
minibuffer-complete-word.
(minibuffer-complete-word): Use minibuffer--do-completion.
(minibuffer--insert-strings): Rename from
minibuffer-complete-insert-strings.
(exit-minibuffer): Fix typo.
* cus-edit.el (minibuffer): Move group to minibuffer.el.
* cus-start.el: Remove completion-auto-help.
* minibuf.c (Vcompletion_auto_help): Move to minibuffer.el.
(syms_of_minibuf): Remove its initialization.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/minibuf.c | 10 |
2 files changed, 3 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 893af47ccc7..88a86246728 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * minibuf.c (Vcompletion_auto_help): Move to minibuffer.el. | ||
| 4 | (syms_of_minibuf): Remove its initialization. | ||
| 5 | |||
| 3 | * minibuf.c (temp_echo_area_glyphs): Remove unused function. | 6 | * minibuf.c (temp_echo_area_glyphs): Remove unused function. |
| 4 | 7 | ||
| 5 | 2008-04-09 Juanma Barranquero <lekktu@gmail.com> | 8 | 2008-04-09 Juanma Barranquero <lekktu@gmail.com> |
diff --git a/src/minibuf.c b/src/minibuf.c index 8cdea645d34..dae6918e073 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -55,10 +55,6 @@ Lisp_Object minibuf_save_list; | |||
| 55 | 55 | ||
| 56 | int minibuf_level; | 56 | int minibuf_level; |
| 57 | 57 | ||
| 58 | /* Nonzero means display completion help for invalid input. */ | ||
| 59 | |||
| 60 | Lisp_Object Vcompletion_auto_help; | ||
| 61 | |||
| 62 | /* The maximum length of a minibuffer history. */ | 58 | /* The maximum length of a minibuffer history. */ |
| 63 | 59 | ||
| 64 | Lisp_Object Qhistory_length, Vhistory_length; | 60 | Lisp_Object Qhistory_length, Vhistory_length; |
| @@ -2126,12 +2122,6 @@ history list, so it is possible to do this afterwards by calling | |||
| 2126 | `add-to-history' explicitly. */); | 2122 | `add-to-history' explicitly. */); |
| 2127 | Vhistory_add_new_input = Qt; | 2123 | Vhistory_add_new_input = Qt; |
| 2128 | 2124 | ||
| 2129 | DEFVAR_LISP ("completion-auto-help", &Vcompletion_auto_help, | ||
| 2130 | doc: /* *Non-nil means automatically provide help for invalid completion input. | ||
| 2131 | Under Partial Completion mode, a non-nil, non-t value has a special meaning; | ||
| 2132 | see the doc string of `partial-completion-mode' for more details. */); | ||
| 2133 | Vcompletion_auto_help = Qt; | ||
| 2134 | |||
| 2135 | DEFVAR_BOOL ("completion-ignore-case", &completion_ignore_case, | 2125 | DEFVAR_BOOL ("completion-ignore-case", &completion_ignore_case, |
| 2136 | doc: /* Non-nil means don't consider case significant in completion. | 2126 | doc: /* Non-nil means don't consider case significant in completion. |
| 2137 | 2127 | ||