emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Bug: symbol function's definition is null : signum [7.5]


From: Sylvain Beucler
Subject: [O] Bug: symbol function's definition is null : signum [7.5]
Date: Wed, 13 Apr 2011 10:04:10 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

When using S-<up> to modify a date with an our range in Org 7.5, I get
"symbol function's definition is null : signum".

E.g. <2011-03-10 jeu. 10:30-11:30>

It appears that (org-modify-ts-extra) is using this function, but
unlike in CL isn't not an elisp built-in :)

As a work-around I added an internal defun:
(defun org-modify-ts-extra (s pos n dm)
  "Change the different parts of the lead-time and repeat fields in timestamp."
  (defun signum (x) 
    (cond
     ((> x 0)  1)
     ((< x 0) -1)
     ((= x 0)  0)))
[...]

-- 
Sylvain



reply via email to

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