From 7ac33fd4acbdd20e941426c25ee6ab4e086a9211 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Thu, 11 Dec 2003 05:11:03 +0000 Subject: [PATCH] Fix last commit. --- poe-xemacs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/poe-xemacs.el b/poe-xemacs.el index 89d3064..e22a299 100644 --- a/poe-xemacs.el +++ b/poe-xemacs.el @@ -147,13 +147,15 @@ Note that it allows neither a string nor a time in the Emacs style (set-itimer-function itimer (lambda (itimer function &rest args) + (set-itimer-restart itimer nil) (delete-itimer itimer) (apply function args))) (set-itimer-function-arguments itimer (append (list itimer function) args))))) 1e-9 (if time (max time 1e-9) 1e-9) - nil t itimers repeat function args))))) + nil t itimers repeat function args)) + (setq ad-return-value (car itimers))))) ;;; @ to avoid bug of XEmacs 19.14 -- 1.7.10.4