summaryrefslogtreecommitdiff
path: root/lisp/org-compat.el
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2023-04-30 13:37:51 +0200
committerIhor Radchenko <yantar92@posteo.net>2023-04-30 13:48:52 +0200
commit989cc514996b4bde6977127583ccb39c6ca5e827 (patch)
treeb8eacb4788ceb74f9fcc1b7dbc2cb3c6873c98ef /lisp/org-compat.el
parenteb6cabdee591a18e6885998917ae767043610391 (diff)
Prefer "timestamp" over "time-stamp"
* lisp/org.el (org-time-stamp-formats): (org-timestamp-formats): (org-time-stamp-rounding-minutes): (org-timestamp-rounding-minutes): (org-time-stamp-custom-formats): (org-timestamp-custom-formats): (org-time-stamp): (org-timestamp): (org-time-stamp-inactive): (org-timestamp-inactive): (org-insert-time-stamp): (org-insert-timestamp): (org-toggle-time-stamp-overlays): (org-toggle-timestamp-overlays): (org-time-stamp-to-now): (org-timestamp-to-now): * lisp/ox.el (org-export-time-stamp-file): (org-export-timestamp-file): Rename using "timestamp" term, keeping the old name as alias. * doc/org-manual.org: Update all the uses, adding #+findex and #+vindex entries. Keep the alias names for searchability. Adjust all the callers. The following "time-stamp" uses are unchanged: 1. `org-time-stamp-format' where obsolete and _different_ function `org-timestamp-format' still exists. 2. :time-stamp-file property in export INFO plist. Changing this would be breaking. 3. ORG-NEWS remains unchanged.
Diffstat (limited to 'lisp/org-compat.el')
-rw-r--r--lisp/org-compat.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-compat.el b/lisp/org-compat.el
index 34b27546d..b9aa3b63c 100644
--- a/lisp/org-compat.el
+++ b/lisp/org-compat.el
@@ -414,7 +414,7 @@ Counting starts at 1."
'completing-read "9.0")
(define-obsolete-function-alias 'org-iread-file-name 'read-file-name "9.0")
(define-obsolete-function-alias 'org-days-to-time
- 'org-time-stamp-to-now "8.2")
+ 'org-timestamp-to-now "8.2")
(define-obsolete-variable-alias 'org-agenda-ignore-drawer-properties
'org-agenda-ignore-properties "9.0")
(define-obsolete-function-alias 'org-preview-latex-fragment