|
@@ -3764,10 +3764,8 @@ This is for getting out of special buffers like remember.")
|
|
|
;; FIXME: Occasionally check by commenting these, to make sure
|
|
|
;; no other functions uses these, forgetting to let-bind them.
|
|
|
(defvar entry)
|
|
|
-(defvar state)
|
|
|
(defvar last-state)
|
|
|
(defvar date)
|
|
|
-(defvar description)
|
|
|
|
|
|
;; Defined somewhere in this file, but used before definition.
|
|
|
(defvar org-html-entities)
|
|
@@ -12664,7 +12662,8 @@ days in order to avoid rounding problems."
|
|
|
"Convert a time stamp to an absolute day number.
|
|
|
If there is a specifyer for a cyclic time stamp, get the closest date to
|
|
|
DAYNR.
|
|
|
-PREFER and SHOW-ALL are passed through to `org-closest-date'."
|
|
|
+PREFER and SHOW-ALL are passed through to `org-closest-date'.
|
|
|
+the variable date is bound by the calendar when this is called."
|
|
|
(cond
|
|
|
((and daynr (string-match "\\`%%\\((.*)\\)" s))
|
|
|
(if (org-diary-sexp-entry (match-string 1 s) "" date)
|