emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/minibuf.c,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/src/minibuf.c,v
Date: Wed, 09 Apr 2008 18:02:10 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        08/04/09 18:02:09

Index: minibuf.c
===================================================================
RCS file: /sources/emacs/emacs/src/minibuf.c,v
retrieving revision 1.343
retrieving revision 1.344
diff -u -b -r1.343 -r1.344
--- minibuf.c   9 Apr 2008 03:34:17 -0000       1.343
+++ minibuf.c   9 Apr 2008 18:02:07 -0000       1.344
@@ -2024,48 +2024,6 @@
 }
 
 
-/* Temporarily display STRING at the end of the current
-   minibuffer contents.  This is used to display things like
-   "[No Match]" when the user requests a completion for a prefix
-   that has no possible completions, and other quick, unobtrusive
-   messages.  */
-
-extern Lisp_Object Vminibuffer_message_timeout;
-
-void
-temp_echo_area_glyphs (string)
-     Lisp_Object string;
-{
-  int osize = ZV;
-  int osize_byte = ZV_BYTE;
-  int opoint = PT;
-  int opoint_byte = PT_BYTE;
-  Lisp_Object oinhibit;
-  oinhibit = Vinhibit_quit;
-
-  /* Clear out any old echo-area message to make way for our new thing.  */
-  message (0);
-
-  SET_PT_BOTH (osize, osize_byte);
-  insert_from_string (string, 0, 0, SCHARS (string), SBYTES (string), 0);
-  SET_PT_BOTH (opoint, opoint_byte);
-  Vinhibit_quit = Qt;
-
-  if (NUMBERP (Vminibuffer_message_timeout))
-    sit_for (Vminibuffer_message_timeout, 0, 2);
-  else
-    sit_for (Qt, 0, 2);
-
-  del_range_both (osize, osize_byte, ZV, ZV_BYTE, 1);
-  SET_PT_BOTH (opoint, opoint_byte);
-  if (!NILP (Vquit_flag))
-    {
-      Vquit_flag = Qnil;
-      Vunread_command_events = Fcons (make_number (quit_char), Qnil);
-    }
-  Vinhibit_quit = oinhibit;
-}
-
 void
 init_minibuf_once ()
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]