all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* defsetf in timer.el cannot pass compiling
@ 2008-04-03  6:00 Herbert Euler
  0 siblings, 0 replies; only message in thread
From: Herbert Euler @ 2008-04-03  6:00 UTC (permalink / raw)
  To: emacs-devel


Hello,

When compiling the following form in lisp/emacs-lisp/timer.el, an
error is signaled:

(defsetf timer--time
  (lambda (timer time)
    (or (timerp timer) (error "Invalid timer"))
    (setf (timer--high-seconds timer) (pop time))
    (setf (timer--low-seconds timer)
	  (if (consp time) (car time) time))
    (setf (timer--usecs timer) (or (and (consp time) (consp (cdr time))
					(cadr time))
				   0))))

The error message is "Invalid argument name: Invalid timer", which is
signaled by cl-do-arglist, as "Invalid timer" is not a symbol.

Regards,
Guanpeng Xu

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-03  6:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-03  6:00 defsetf in timer.el cannot pass compiling Herbert Euler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.