emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/lisp ChangeLog foldout.el


From: Glenn Morris
Subject: [Emacs-diffs] emacs/lisp ChangeLog foldout.el
Date: Sat, 17 Oct 2009 03:15:57 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       09/10/17 03:15:57

Modified files:
        lisp           : ChangeLog foldout.el 

Log message:
        (foldout-mouse-swallow-events): Replace obsolete form of sit-for.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.16444&r2=1.16445
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/foldout.el?cvsroot=emacs&r1=1.25&r2=1.26

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.16444
retrieving revision 1.16445
diff -u -b -r1.16444 -r1.16445
--- ChangeLog   17 Oct 2009 03:15:13 -0000      1.16444
+++ ChangeLog   17 Oct 2009 03:15:53 -0000      1.16445
@@ -1,5 +1,6 @@
 2009-10-17  Glenn Morris  <address@hidden>
 
+       * foldout.el (foldout-mouse-swallow-events):
        * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
 
        * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)

Index: foldout.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/foldout.el,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- foldout.el  5 Jan 2009 03:19:11 -0000       1.25
+++ foldout.el  17 Oct 2009 03:15:56 -0000      1.26
@@ -1,7 +1,7 @@
 ;;; foldout.el --- folding extensions for outline-mode and outline-minor-mode
 
-;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005,
-;;   2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
+;;   2009  Free Software Foundation, Inc.
 
 ;; Author: Kevin Broadey <address@hidden>
 ;; Maintainer: FSF
@@ -495,7 +495,7 @@
   "Swallow intervening mouse events so we only get the final click-count.
 Signal an error if the final event isn't the same type as the first one."
   (let ((initial-event-type (event-basic-type event)))
-    (while (null (sit-for 0 double-click-time 'nodisplay))
+    (while (null (sit-for (/ double-click-time 1000.0) 'nodisplay))
       (setq event (read-event)))
     (or (eq initial-event-type (event-basic-type event))
        (error "")))




reply via email to

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