Compatibility: Use org-define-obsolete-{function,variable}-alias

* lisp/org.el: Use
  `org-define-obsolete-{function,variable}-alias´instead of
  `define-obsolate{function,variable}-alias´.
This commit is contained in:
Achim Gratz 2013-01-06 18:26:42 +01:00
parent 19460418a0
commit 8fcdb5179b
1 changed files with 2 additions and 1 deletions

View File

@ -16142,7 +16142,8 @@ Don't touch the rest."
(let ((n 0))
(mapcar (lambda (x) (if (< (setq n (1+ n)) 7) (or x 0) x)) time)))
(define-obsolete-function-alias 'org-days-to-time 'org-time-stamp-to-now "24.3")
(org-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.