diff options
| author | Richard M. Stallman | 2005-12-28 02:56:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-12-28 02:56:32 +0000 |
| commit | 1d69c502649e3444975791b4553fbe537cd4c0cc (patch) | |
| tree | 11804f3eb3e90144aa7f35631221edfbd0580d56 /src | |
| parent | fe5195e82e767505b65abebb9b7c26d6e0723d8a (diff) | |
| download | emacs-1d69c502649e3444975791b4553fbe537cd4c0cc.tar.gz emacs-1d69c502649e3444975791b4553fbe537cd4c0cc.zip | |
(Fminibuffer_message): Doc fix.
(read_minibuf): Set current_buffer->enable_multibyte_characters sooner.
Diffstat (limited to 'src')
| -rw-r--r-- | src/minibuf.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 17d4fc9c1a5..df9f5dcc336 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -600,6 +600,10 @@ read_minibuf (map, initial, prompt, backup_n, expflag, | |||
| 600 | minibuffer = get_minibuffer (minibuf_level); | 600 | minibuffer = get_minibuffer (minibuf_level); |
| 601 | Fset_buffer (minibuffer); | 601 | Fset_buffer (minibuffer); |
| 602 | 602 | ||
| 603 | /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ | ||
| 604 | if (inherit_input_method) | ||
| 605 | current_buffer->enable_multibyte_characters = enable_multibyte; | ||
| 606 | |||
| 603 | /* The current buffer's default directory is usually the right thing | 607 | /* The current buffer's default directory is usually the right thing |
| 604 | for our minibuffer here. However, if you're typing a command at | 608 | for our minibuffer here. However, if you're typing a command at |
| 605 | a minibuffer-only frame when minibuf_level is zero, then buf IS | 609 | a minibuffer-only frame when minibuf_level is zero, then buf IS |
| @@ -671,10 +675,6 @@ read_minibuf (map, initial, prompt, backup_n, expflag, | |||
| 671 | 675 | ||
| 672 | minibuf_prompt_width = (int) current_column (); /* iftc */ | 676 | minibuf_prompt_width = (int) current_column (); /* iftc */ |
| 673 | 677 | ||
| 674 | /* If appropriate, copy enable-multibyte-characters into the minibuffer. */ | ||
| 675 | if (inherit_input_method) | ||
| 676 | current_buffer->enable_multibyte_characters = enable_multibyte; | ||
| 677 | |||
| 678 | /* Put in the initial input. */ | 678 | /* Put in the initial input. */ |
| 679 | if (!NILP (initial)) | 679 | if (!NILP (initial)) |
| 680 | { | 680 | { |
| @@ -1238,11 +1238,11 @@ is used to further constrain the set of candidates. */) | |||
| 1238 | int bestmatchsize = 0; | 1238 | int bestmatchsize = 0; |
| 1239 | /* These are in bytes, too. */ | 1239 | /* These are in bytes, too. */ |
| 1240 | int compare, matchsize; | 1240 | int compare, matchsize; |
| 1241 | int type = HASH_TABLE_P (alist) ? 3 | 1241 | int type = (HASH_TABLE_P (alist) ? 3 |
| 1242 | : VECTORP (alist) ? 2 | 1242 | : VECTORP (alist) ? 2 |
| 1243 | : NILP (alist) || (CONSP (alist) | 1243 | : NILP (alist) || (CONSP (alist) |
| 1244 | && (!SYMBOLP (XCAR (alist)) | 1244 | && (!SYMBOLP (XCAR (alist)) |
| 1245 | || NILP (XCAR (alist)))); | 1245 | || NILP (XCAR (alist))))); |
| 1246 | int index = 0, obsize = 0; | 1246 | int index = 0, obsize = 0; |
| 1247 | int matchcount = 0; | 1247 | int matchcount = 0; |
| 1248 | int bindcount = -1; | 1248 | int bindcount = -1; |
| @@ -2686,7 +2686,7 @@ temp_echo_area_glyphs (string) | |||
| 2686 | DEFUN ("minibuffer-message", Fminibuffer_message, Sminibuffer_message, | 2686 | DEFUN ("minibuffer-message", Fminibuffer_message, Sminibuffer_message, |
| 2687 | 1, 1, 0, | 2687 | 1, 1, 0, |
| 2688 | doc: /* Temporarily display STRING at the end of the minibuffer. | 2688 | doc: /* Temporarily display STRING at the end of the minibuffer. |
| 2689 | The text is displayed for two seconds, | 2689 | The text is displayed for a period controlled by `minibuffer-message-timeout', |
| 2690 | or until the next input event arrives, whichever comes first. */) | 2690 | or until the next input event arrives, whichever comes first. */) |
| 2691 | (string) | 2691 | (string) |
| 2692 | Lisp_Object string; | 2692 | Lisp_Object string; |