comparison src/minibuf.c @ 40987:d9b11436ac12

(Fminibuffer_complete_word): Reindent. (Fminibuffer_complete_and_exit): Likewise. (Fminibuffer_completion_help): Likewise. (Fminibuffer_message): Likewise.
author Pavel Janík <Pavel@Janik.cz>
date Tue, 13 Nov 2001 07:03:31 +0000
parents cdfd4d09b79a
children f61bc276fe98
comparison
equal deleted inserted replaced
40986:55db33adc0a1 40987:d9b11436ac12
1817 { 1817 {
1818 return make_number (1); 1818 return make_number (1);
1819 } 1819 }
1820 1820
1821 DEFUN ("minibuffer-complete-and-exit", Fminibuffer_complete_and_exit, 1821 DEFUN ("minibuffer-complete-and-exit", Fminibuffer_complete_and_exit,
1822 Sminibuffer_complete_and_exit, 0, 0, "", 1822 Sminibuffer_complete_and_exit, 0, 0, "",
1823 doc: /* If the minibuffer contents is a valid completion then exit. 1823 doc: /* If the minibuffer contents is a valid completion then exit.
1824 Otherwise try to complete it. If completion leads to a valid completion, 1824 Otherwise try to complete it. If completion leads to a valid completion,
1825 a repetition of this command will exit. */) 1825 a repetition of this command will exit. */)
1826 () 1826 ()
1827 { 1827 {
1862 return Fthrow (Qexit, Qnil); 1862 return Fthrow (Qexit, Qnil);
1863 /* NOTREACHED */ 1863 /* NOTREACHED */
1864 } 1864 }
1865 1865
1866 DEFUN ("minibuffer-complete-word", Fminibuffer_complete_word, Sminibuffer_complete_word, 1866 DEFUN ("minibuffer-complete-word", Fminibuffer_complete_word, Sminibuffer_complete_word,
1867 0, 0, "", 1867 0, 0, "",
1868 doc: /* Complete the minibuffer contents at most a single word. 1868 doc: /* Complete the minibuffer contents at most a single word.
1869 After one word is completed as much as possible, a space or hyphen 1869 After one word is completed as much as possible, a space or hyphen
1870 is added, provided that matches some possible completion. 1870 is added, provided that matches some possible completion.
1871 Return nil if there is no valid completion, else t. */) 1871 Return nil if there is no valid completion, else t. */)
1872 () 1872 ()
2218 2218
2219 return Qnil; 2219 return Qnil;
2220 } 2220 }
2221 2221
2222 DEFUN ("minibuffer-completion-help", Fminibuffer_completion_help, Sminibuffer_completion_help, 2222 DEFUN ("minibuffer-completion-help", Fminibuffer_completion_help, Sminibuffer_completion_help,
2223 0, 0, "", 2223 0, 0, "",
2224 doc: /* Display a list of possible completions of the current minibuffer contents. */) 2224 doc: /* Display a list of possible completions of the current minibuffer contents. */)
2225 () 2225 ()
2226 { 2226 {
2227 Lisp_Object completions; 2227 Lisp_Object completions;
2228 2228
2314 } 2314 }
2315 Vinhibit_quit = oinhibit; 2315 Vinhibit_quit = oinhibit;
2316 } 2316 }
2317 2317
2318 DEFUN ("minibuffer-message", Fminibuffer_message, Sminibuffer_message, 2318 DEFUN ("minibuffer-message", Fminibuffer_message, Sminibuffer_message,
2319 1, 1, 0, 2319 1, 1, 0,
2320 doc: /* Temporarily display STRING at the end of the minibuffer. 2320 doc: /* Temporarily display STRING at the end of the minibuffer.
2321 The text is displayed for two seconds, 2321 The text is displayed for two seconds,
2322 or until the next input event arrives, whichever comes first. */) 2322 or until the next input event arrives, whichever comes first. */)
2323 (string) 2323 (string)
2324 Lisp_Object string; 2324 Lisp_Object string;