瀏覽代碼

Bind some variables.

Carsten Dominik 16 年之前
父節點
當前提交
1448aa2449
共有 3 個文件被更改,包括 5 次插入3 次删除
  1. 1 1
      lisp/org-agenda.el
  2. 2 1
      lisp/org-colview-xemacs.el
  3. 2 1
      lisp/org-colview.el

+ 1 - 1
lisp/org-agenda.el

@@ -3479,7 +3479,7 @@ FRACTION is what fraction of the head-warning time has passed."
 	 (regexp org-scheduled-time-regexp)
 	 (todayp (org-agenda-todayp date)) ; DATE bound by calendar
 	 (d1 (calendar-absolute-from-gregorian date))  ; DATE bound by calendar
-	 d2 diff pos pos1 category tags
+	 d2 diff pos pos1 category tags donep
 	 ee txt head pastschedp todo-state face timestr s)
     (goto-char (point-min))
     (while (re-search-forward regexp nil t)

+ 2 - 1
lisp/org-colview-xemacs.el

@@ -793,7 +793,8 @@ around it."
   (when (string-match (concat "^" org-ts-regexp3 "$") s)
     (let* ((time (org-parse-time-string s 'nodefaults))
 	   (active (equal (string-to-char s) ?<))
-	   (fmt (funcall (if (nth 1 time) 'cdr 'car) org-time-stamp-formats)))
+	   (fmt (funcall (if (nth 1 time) 'cdr 'car) org-time-stamp-formats))
+	   time-before time-after)
       (unless active (setq fmt (concat "[" (substring fmt 1 -1) "]")))
       (setf (car time) (or (car time) 0))
       (setf (nth 1 time) (or (nth 1 time) 0))

+ 2 - 1
lisp/org-colview.el

@@ -596,7 +596,8 @@ around it."
   (when (string-match (concat "^" org-ts-regexp3 "$") s)
     (let* ((time (org-parse-time-string s 'nodefaults))
 	   (active (equal (string-to-char s) ?<))
-	   (fmt (funcall (if (nth 1 time) 'cdr 'car) org-time-stamp-formats)))
+	   (fmt (funcall (if (nth 1 time) 'cdr 'car) org-time-stamp-formats))
+	   time-before time-after)
       (unless active (setq fmt (concat "[" (substring fmt 1 -1) "]")))
       (setf (car time) (or (car time) 0))
       (setf (nth 1 time) (or (nth 1 time) 0))