From 8fcdb5179bbe172b52dd80101efe247de9fe1ac2 Mon Sep 17 00:00:00 2001 From: Achim Gratz Date: Sun, 6 Jan 2013 18:26:42 +0100 Subject: [PATCH] Compatibility: Use org-define-obsolete-{function,variable}-alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/org.el: Use `org-define-obsolete-{function,variable}-aliasĀ“instead of `define-obsolate{function,variable}-aliasĀ“. --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 4ced7e2b6..28f075aaf 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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.