"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Julien Danjou writes:
> On Fri, Oct 22 2010, Stephen J. Turnbull wrote:
>
> > What does current-idle-timer do?
>
> It returns the time since when Emacs is idle, or nil if it's not idle.
Good thing I asked; I would have expected it to return the idle-timer
currently running (ie, the one that called the function). That's easy.
(defun current-idle-timer () ;; or is it `current-idle-time'?
"Return XEmacs's idle time in seconds as a float."
Well, the Emacs documentation says otherwise:
http://www.gnu.org/s/emacs/manual/html_node/elisp/Idle-Timers.html
#'current-idle-time (without trailing ?r) returns a rather special
format, a list of three integers.
--
Marcus
note that "property" can also be used as syntactic sugar to reference
a property, breaking the clean design of verilog; [...]
(seen on
http://www.veripool.com/verilog-mode_news.html)
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta