485 |
val = read_minibuf_noninteractive (map, initial, prompt, backup_n, |
val = read_minibuf_noninteractive (map, initial, prompt, backup_n, |
486 |
expflag, histvar, histpos, defalt, |
expflag, histvar, histpos, defalt, |
487 |
allow_props, inherit_input_method); |
allow_props, inherit_input_method); |
488 |
|
UNGCPRO; |
489 |
return unbind_to (count, val); |
return unbind_to (count, val); |
490 |
} |
} |
491 |
|
|
739 |
|
|
740 |
/* The appropriate frame will get selected |
/* The appropriate frame will get selected |
741 |
in set-window-configuration. */ |
in set-window-configuration. */ |
742 |
RETURN_UNGCPRO (unbind_to (count, val)); |
UNGCPRO; |
743 |
|
return unbind_to (count, val); |
744 |
} |
} |
745 |
|
|
746 |
/* Return a buffer to be used as the minibuffer at depth `depth'. |
/* Return a buffer to be used as the minibuffer at depth `depth'. |
1127 |
|
|
1128 |
DEFUN ("try-completion", Ftry_completion, Stry_completion, 2, 3, 0, |
DEFUN ("try-completion", Ftry_completion, Stry_completion, 2, 3, 0, |
1129 |
doc: /* Return common substring of all completions of STRING in ALIST. |
doc: /* Return common substring of all completions of STRING in ALIST. |
1130 |
Each car of each element of ALIST is tested to see if it begins with STRING. |
Each car of each element of ALIST (or each element if it is not a cons cell) |
1131 |
|
is tested to see if it begins with STRING. |
1132 |
All that match are compared together; the longest initial sequence |
All that match are compared together; the longest initial sequence |
1133 |
common to all matches is returned as a string. |
common to all matches is returned as a string. |
1134 |
If there is no match at all, nil is returned. |
If there is no match at all, nil is returned. |
1370 |
|
|
1371 |
DEFUN ("all-completions", Fall_completions, Sall_completions, 2, 4, 0, |
DEFUN ("all-completions", Fall_completions, Sall_completions, 2, 4, 0, |
1372 |
doc: /* Search for partial matches to STRING in ALIST. |
doc: /* Search for partial matches to STRING in ALIST. |
1373 |
Each car of each element of ALIST is tested to see if it begins with STRING. |
Each car of each element of ALIST (or each element if it is not a cons cell) |
1374 |
|
is tested to see if it begins with STRING. |
1375 |
The value is a list of all the strings from ALIST that match. |
The value is a list of all the strings from ALIST that match. |
1376 |
|
|
1377 |
If ALIST is a hash-table, all the string keys are the possible matches. |
If ALIST is a hash-table, all the string keys are the possible matches. |