diff options
Diffstat (limited to 'lisp/org/org-habit.el')
-rw-r--r-- | lisp/org/org-habit.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/org/org-habit.el b/lisp/org/org-habit.el index 3bf4307f4a1..677b7adb6f0 100644 --- a/lisp/org/org-habit.el +++ b/lisp/org/org-habit.el @@ -4,7 +4,7 @@ ;; Author: John Wiegley <johnw at gnu dot org> ;; Keywords: outlines, hypermedia, calendar, wp -;; Homepage: https://orgmode.org +;; URL: https://orgmode.org ;; ;; This file is part of GNU Emacs. ;; @@ -28,6 +28,9 @@ ;;; Code: +(require 'org-macs) +(org-assert-version) + (require 'cl-lib) (require 'org) (require 'org-agenda) @@ -423,8 +426,7 @@ current time." "Insert consistency graph for any habitual tasks." (let ((inhibit-read-only t) (buffer-invisibility-spec '(org-link)) - (moment (org-time-subtract nil - (* 3600 org-extend-today-until)))) + (moment (time-subtract nil (* 3600 org-extend-today-until)))) (save-excursion (goto-char (if line (line-beginning-position) (point-min))) (while (not (eobp)) |