emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108191: Remove unused function ho


From: Paul Eggert
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108191: Remove unused function hourglass_started.
Date: Fri, 02 Nov 2012 01:47:41 -0000
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 108191
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Thu 2012-05-10 23:39:26 -0700
message:
  Remove unused function hourglass_started.
  
  * dispextern.h (hourglass_started):
  * w32fns.c (hourglass_started):
  * xdisp.c (hourglass_started): Remove.
modified:
  src/ChangeLog
  src/dispextern.h
  src/w32fns.c
  src/xdisp.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-05-10 14:34:43 +0000
+++ b/src/ChangeLog     2012-05-11 06:39:26 +0000
@@ -1,3 +1,10 @@
+2012-05-11  Paul Eggert  <address@hidden>
+
+       Remove unused function hourglass_started.
+       * dispextern.h (hourglass_started):
+       * w32fns.c (hourglass_started):
+       * xdisp.c (hourglass_started): Remove.
+
 2012-05-10  Juanma Barranquero  <address@hidden>
 
        * makefile.w32-in ($(BLD)/gmalloc.$(O), $(BLD)/w32menu.$(O)):

=== modified file 'src/dispextern.h'
--- a/src/dispextern.h  2012-03-26 05:43:05 +0000
+++ b/src/dispextern.h  2012-05-11 06:39:26 +0000
@@ -3243,7 +3243,6 @@
 EXFUN (Fx_hide_tip, 0);
 extern void start_hourglass (void);
 extern void cancel_hourglass (void);
-extern int hourglass_started (void);
 extern int hourglass_shown_p;
 struct atimer;                 /* Defined in atimer.h.  */
 /* If non-null, an asynchronous timer that, when it expires, displays

=== modified file 'src/w32fns.c'
--- a/src/w32fns.c      2012-01-19 07:21:25 +0000
+++ b/src/w32fns.c      2012-05-11 06:39:26 +0000
@@ -5016,16 +5016,6 @@
    cursor.  Duplicated from xdisp.c, but cannot use the version there
    due to lack of atimers on w32.  */
 #define DEFAULT_HOURGLASS_DELAY 1
-/* Return non-zero if hourglass timer has been started or hourglass is
-   shown.  */
-/* PENDING: if W32 can use atimers (atimer.[hc]) then the common impl in
-           xdisp.c could be used. */
-
-int
-hourglass_started (void)
-{
-  return hourglass_shown_p || hourglass_timer;
-}
 
 /* Cancel a currently active hourglass timer, and start a new one.  */
 

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2012-05-07 16:09:51 +0000
+++ b/src/xdisp.c       2012-05-11 06:39:26 +0000
@@ -28882,14 +28882,6 @@
 
 /* Platform-independent portion of hourglass implementation. */
 
-/* Return non-zero if hourglass timer has been started or hourglass is
-   shown.  */
-int
-hourglass_started (void)
-{
-  return hourglass_shown_p || hourglass_atimer != NULL;
-}
-
 /* Cancel a currently active hourglass timer, and start a new one.  */
 void
 start_hourglass (void)


reply via email to

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