aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab1997-11-21 13:50:47 +0000
committerAndreas Schwab1997-11-21 13:50:47 +0000
commit9d815fd9b80a810b2f0dfb66277d1cebb5493cc8 (patch)
tree3b8b5bed9aea41defb797308de5fbd4762f272f4
parentc03232491ada5bd20b91b0c824874eddfbe17557 (diff)
downloademacs-9d815fd9b80a810b2f0dfb66277d1cebb5493cc8.tar.gz
emacs-9d815fd9b80a810b2f0dfb66277d1cebb5493cc8.zip
(read_minibuf_unwind): Fix return type and return nil.
(temp_echo_area_glyphs): Define as returning nothing. (init_minibuf_once): Likewise. (syms_of_minibuf): Likewise. (keys_of_minibuf): Likewise.
-rw-r--r--src/minibuf.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index c458dce2f4f..b8c9f503af3 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -180,7 +180,7 @@ without invoking the usual minibuffer commands.")
180 180
181/* Actual minibuffer invocation. */ 181/* Actual minibuffer invocation. */
182 182
183static void read_minibuf_unwind (); 183static Lisp_Object read_minibuf_unwind ();
184Lisp_Object get_minibuffer (); 184Lisp_Object get_minibuffer ();
185static Lisp_Object read_minibuf (); 185static Lisp_Object read_minibuf ();
186 186
@@ -525,7 +525,7 @@ get_minibuffer (depth)
525/* This function is called on exiting minibuffer, whether normally or not, 525/* This function is called on exiting minibuffer, whether normally or not,
526 and it restores the current window, buffer, etc. */ 526 and it restores the current window, buffer, etc. */
527 527
528static void 528static Lisp_Object
529read_minibuf_unwind (data) 529read_minibuf_unwind (data)
530 Lisp_Object data; 530 Lisp_Object data;
531{ 531{
@@ -584,6 +584,8 @@ read_minibuf_unwind (data)
584 windows_or_buffers_changed++; 584 windows_or_buffers_changed++;
585 XSETFASTINT (XWINDOW (window)->last_modified, 0); 585 XSETFASTINT (XWINDOW (window)->last_modified, 0);
586 XSETFASTINT (XWINDOW (window)->last_overlay_modified, 0); 586 XSETFASTINT (XWINDOW (window)->last_overlay_modified, 0);
587
588 return Qnil;
587} 589}
588 590
589 591
@@ -1881,6 +1883,7 @@ DEFUN ("minibuffer-prompt-width", Fminibuffer_prompt_width,
1881 that has no possible completions, and other quick, unobtrusive 1883 that has no possible completions, and other quick, unobtrusive
1882 messages. */ 1884 messages. */
1883 1885
1886void
1884temp_echo_area_glyphs (m) 1887temp_echo_area_glyphs (m)
1885 char *m; 1888 char *m;
1886{ 1889{
@@ -1919,12 +1922,14 @@ or until the next input event arrives, whichever comes first.")
1919 return Qnil; 1922 return Qnil;
1920} 1923}
1921 1924
1925void
1922init_minibuf_once () 1926init_minibuf_once ()
1923{ 1927{
1924 Vminibuffer_list = Qnil; 1928 Vminibuffer_list = Qnil;
1925 staticpro (&Vminibuffer_list); 1929 staticpro (&Vminibuffer_list);
1926} 1930}
1927 1931
1932void
1928syms_of_minibuf () 1933syms_of_minibuf ()
1929{ 1934{
1930 minibuf_level = 0; 1935 minibuf_level = 0;
@@ -2088,6 +2093,7 @@ with completion; they always discard text properties.");
2088 defsubr (&Sminibuffer_message); 2093 defsubr (&Sminibuffer_message);
2089} 2094}
2090 2095
2096void
2091keys_of_minibuf () 2097keys_of_minibuf ()
2092{ 2098{
2093 initial_define_key (Vminibuffer_local_map, Ctl ('g'), 2099 initial_define_key (Vminibuffer_local_map, Ctl ('g'),