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.