Revert "Compatibility: Use org-define-obsolete-{function,variable}-alias"
authorBastien Guerry <bzg@altern.org>
Mon, 14 Jan 2013 08:34:07 +0000 (09:34 +0100)
committerBastien Guerry <bzg@altern.org>
Mon, 14 Jan 2013 08:34:07 +0000 (09:34 +0100)
This reverts commit 8fcdb5179bbe172b52dd80101efe247de9fe1ac2.

lisp/org.el

index 03ab52a..1c6fd51 100644 (file)
@@ -16182,8 +16182,7 @@ Don't touch the rest."
   (let ((n 0))
     (mapcar (lambda (x) (if (< (setq n (1+ n)) 7) (or x 0) x)) time)))
 
-(org-define-obsolete-function-alias
-  'org-days-to-time 'org-time-stamp-to-now "24.3")
+(define-obsolete-function-alias 'org-days-to-time 'org-time-stamp-to-now "24.3")
 
 (defun org-time-stamp-to-now (timestamp-string &optional seconds)
   "Difference between TIMESTAMP-STRING and now in days.