summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-07 13:01:36 +0100
committerBastien Guerry <bzg@altern.org>2013-01-07 13:01:36 +0100
commitb27a020a835f67c1c61bd2bb1a03accc4ad4b453 (patch)
tree86047b6872bb79b89b7b8a162349ed50bab16a1b
parentaaf14258eb3a2f55e34dba47c7b475bf51b7a6b6 (diff)
downloadorg-mode-b27a020a835f67c1c61bd2bb1a03accc4ad4b453.tar.gz
`org-float' is now obsolete
* org-agenda.el (org-float): Don't alias `org-float'. * org.texi (Timestamps, Deadlines and scheduling): Use `diary-float' instead of the now obsolete alias `org-float'. * test-org-element.el (test-org-element/timestamp-interpreter): Ditto.
-rw-r--r--doc/org.texi4
-rw-r--r--lisp/org-agenda.el1
-rw-r--r--testing/lisp/test-org-element.el4
3 files changed, 4 insertions, 5 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 3fcdb31..3b03f14 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5520,7 +5520,7 @@ example with optional time
@example
* 22:00-23:00 The nerd meeting on every 2nd Thursday of the month
- <%%(org-float t 4 2)>
+ <%%(diary-float t 4 2)>
@end example
@item Time/Date range
@@ -5858,7 +5858,7 @@ entries. Org mode will issue early and late warnings based on the
assumption that the timestamp represents the @i{nearest instance} of
the repeater. However, the use of diary sexp entries like
@c
-@code{<%%(org-float t 42)>}
+@code{<%%(diary-float t 42)>}
@c
in scheduling and deadline timestamps is limited. Org mode does not
know enough about the internals of each sexp function to issue early and
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index d1010e5..7ca50a4 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5521,7 +5521,6 @@ Do we have a reason to ignore this TODO entry because it has a time stamp?
(org-no-warnings
(let ((calendar-date-style 'european) (european-calendar-style t))
(diary-date day month year mark))))
-(defalias 'org-float 'diary-float)
;; Define the` org-class' function
(defun org-class (y1 m1 d1 y2 m2 d2 dayname &rest skip-weeks)
diff --git a/testing/lisp/test-org-element.el b/testing/lisp/test-org-element.el
index c9ee14a..97d8533 100644
--- a/testing/lisp/test-org-element.el
+++ b/testing/lisp/test-org-element.el
@@ -2074,8 +2074,8 @@ CLOSED: [2012-01-01] DEADLINE: <2012-01-01> SCHEDULED: <2012-01-01>\n"))))
"[2012-03-29 16:40]--[2012-03-29 16:41]")
"[2012-03-29 16:40]--[2012-03-29 16:41]\n"))
;; Diary.
- (should (equal (org-test-parse-and-interpret "<%%org-float t 4 2>")
- "<%%org-float t 4 2>\n"))
+ (should (equal (org-test-parse-and-interpret "<%%diary-float t 4 2>")
+ "<%%diary-float t 4 2>\n"))
;; Timestamp with repeater interval.
(should (equal (org-test-parse-and-interpret "<2012-03-29 +1y>")
"<2012-03-29 +1y>\n")))