diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/mac.c | 2 | ||||
| -rw-r--r-- | src/minibuf.c | 10 |
3 files changed, 12 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e325d82f04a..147ee163db8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-04-19 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties) | ||
| 4 | (Fminibuffer_completion_contents, Fdelete_minibuffer_contents): | ||
| 5 | Doc fixes. | ||
| 6 | |||
| 1 | 2007-04-16 Chong Yidong <cyd@stupidchicken.com> | 7 | 2007-04-16 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 8 | ||
| 3 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Set | 9 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Set |
| @@ -4991,7 +4991,7 @@ extern int noninteractive; | |||
| 4991 | 3. [If SELECT_USE_CFSOCKET is set] | 4991 | 3. [If SELECT_USE_CFSOCKET is set] |
| 4992 | Only the window event channel and socket read/write channels are | 4992 | Only the window event channel and socket read/write channels are |
| 4993 | involved, and timeout is not too short (greater than | 4993 | involved, and timeout is not too short (greater than |
| 4994 | SELECT_TIMEOUT_THRESHHOLD_RUNLOOP seconds). | 4994 | SELECT_TIMEOUT_THRESHOLD_RUNLOOP seconds). |
| 4995 | -> Create CFSocket for each socket and add it into the current | 4995 | -> Create CFSocket for each socket and add it into the current |
| 4996 | event RunLoop so that the current event loop gets quit when | 4996 | event RunLoop so that the current event loop gets quit when |
| 4997 | the socket becomes ready. Then ReceiveNextEvent can wait for | 4997 | the socket becomes ready. Then ReceiveNextEvent can wait for |
diff --git a/src/minibuf.c b/src/minibuf.c index e3fb8641615..34caf2b430f 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -387,7 +387,7 @@ Return (point-min) if current buffer is not a minibuffer. */) | |||
| 387 | DEFUN ("minibuffer-contents", Fminibuffer_contents, | 387 | DEFUN ("minibuffer-contents", Fminibuffer_contents, |
| 388 | Sminibuffer_contents, 0, 0, 0, | 388 | Sminibuffer_contents, 0, 0, 0, |
| 389 | doc: /* Return the user input in a minibuffer as a string. | 389 | doc: /* Return the user input in a minibuffer as a string. |
| 390 | The current buffer must be a minibuffer. */) | 390 | If the current buffer is not a minibuffer, return its entire contents. */) |
| 391 | () | 391 | () |
| 392 | { | 392 | { |
| 393 | int prompt_end = XINT (Fminibuffer_prompt_end ()); | 393 | int prompt_end = XINT (Fminibuffer_prompt_end ()); |
| @@ -397,7 +397,7 @@ The current buffer must be a minibuffer. */) | |||
| 397 | DEFUN ("minibuffer-contents-no-properties", Fminibuffer_contents_no_properties, | 397 | DEFUN ("minibuffer-contents-no-properties", Fminibuffer_contents_no_properties, |
| 398 | Sminibuffer_contents_no_properties, 0, 0, 0, | 398 | Sminibuffer_contents_no_properties, 0, 0, 0, |
| 399 | doc: /* Return the user input in a minibuffer as a string, without text-properties. | 399 | doc: /* Return the user input in a minibuffer as a string, without text-properties. |
| 400 | The current buffer must be a minibuffer. */) | 400 | If the current buffer is not a minibuffer, return its entire contents. */) |
| 401 | () | 401 | () |
| 402 | { | 402 | { |
| 403 | int prompt_end = XINT (Fminibuffer_prompt_end ()); | 403 | int prompt_end = XINT (Fminibuffer_prompt_end ()); |
| @@ -408,7 +408,7 @@ DEFUN ("minibuffer-completion-contents", Fminibuffer_completion_contents, | |||
| 408 | Sminibuffer_completion_contents, 0, 0, 0, | 408 | Sminibuffer_completion_contents, 0, 0, 0, |
| 409 | doc: /* Return the user input in a minibuffer before point as a string. | 409 | doc: /* Return the user input in a minibuffer before point as a string. |
| 410 | That is what completion commands operate on. | 410 | That is what completion commands operate on. |
| 411 | The current buffer must be a minibuffer. */) | 411 | If the current buffer is not a minibuffer, return its entire contents. */) |
| 412 | () | 412 | () |
| 413 | { | 413 | { |
| 414 | int prompt_end = XINT (Fminibuffer_prompt_end ()); | 414 | int prompt_end = XINT (Fminibuffer_prompt_end ()); |
| @@ -420,7 +420,7 @@ The current buffer must be a minibuffer. */) | |||
| 420 | DEFUN ("delete-minibuffer-contents", Fdelete_minibuffer_contents, | 420 | DEFUN ("delete-minibuffer-contents", Fdelete_minibuffer_contents, |
| 421 | Sdelete_minibuffer_contents, 0, 0, 0, | 421 | Sdelete_minibuffer_contents, 0, 0, 0, |
| 422 | doc: /* Delete all user input in a minibuffer. | 422 | doc: /* Delete all user input in a minibuffer. |
| 423 | The current buffer must be a minibuffer. */) | 423 | If the current buffer is not a minibuffer, erase its entire contents. */) |
| 424 | () | 424 | () |
| 425 | { | 425 | { |
| 426 | int prompt_end = XINT (Fminibuffer_prompt_end ()); | 426 | int prompt_end = XINT (Fminibuffer_prompt_end ()); |
| @@ -706,7 +706,7 @@ read_minibuf (map, initial, prompt, backup_n, expflag, | |||
| 706 | if (!NILP (current_buffer->enable_multibyte_characters) | 706 | if (!NILP (current_buffer->enable_multibyte_characters) |
| 707 | && ! STRING_MULTIBYTE (minibuf_prompt)) | 707 | && ! STRING_MULTIBYTE (minibuf_prompt)) |
| 708 | minibuf_prompt = Fstring_make_multibyte (minibuf_prompt); | 708 | minibuf_prompt = Fstring_make_multibyte (minibuf_prompt); |
| 709 | 709 | ||
| 710 | /* Insert the prompt, record where it ends. */ | 710 | /* Insert the prompt, record where it ends. */ |
| 711 | Finsert (1, &minibuf_prompt); | 711 | Finsert (1, &minibuf_prompt); |
| 712 | if (PT > BEG) | 712 | if (PT > BEG) |