emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Use compat org-time-convert-to-list for emacs <27.1
@ 2023-07-04 23:29 Justin
  2023-07-05 10:30 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Justin @ 2023-07-04 23:29 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

---
  lisp/org-macs.el | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 2eed0028e..d6879e8cf 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -803,7 +803,7 @@ When NEXT is non-nil, check the next line instead."
    "Return string with random (version 4) UUID."
    (let ((rnd (md5 (format "%s%s%s%s%s%s%s"
                (random)
-              (time-convert nil 'list)
+              (org-time-convert-to-list nil)
                (user-uid)
                (emacs-pid)
                (user-full-name)

base-commit: 48fffa5daca3e13e4c5ff3928e3b1858cf2bab6b
-- 
2.20.1


[-- Attachment #2: 0001-Use-compat-org-time-convert-to-list-for-emacs-27.1.patch --]
[-- Type: text/x-patch, Size: 802 bytes --]

From 929b8ec807ac83f70a0a689c01ce704db9e3994e Mon Sep 17 00:00:00 2001
From: Justin Vallon <JustinVallon@gmail.com>
Date: Tue, 4 Jul 2023 19:01:27 -0400
Subject: [PATCH] Use compat org-time-convert-to-list for emacs <27.1

---
 lisp/org-macs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-macs.el b/lisp/org-macs.el
index 2eed0028e..d6879e8cf 100644
--- a/lisp/org-macs.el
+++ b/lisp/org-macs.el
@@ -803,7 +803,7 @@ When NEXT is non-nil, check the next line instead."
   "Return string with random (version 4) UUID."
   (let ((rnd (md5 (format "%s%s%s%s%s%s%s"
 			  (random)
-			  (time-convert nil 'list)
+			  (org-time-convert-to-list nil)
 			  (user-uid)
 			  (emacs-pid)
 			  (user-full-name)

base-commit: 48fffa5daca3e13e4c5ff3928e3b1858cf2bab6b
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Use compat org-time-convert-to-list for emacs <27.1
  2023-07-04 23:29 [PATCH] Use compat org-time-convert-to-list for emacs <27.1 Justin
@ 2023-07-05 10:30 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-07-05 10:30 UTC (permalink / raw)
  To: Justin; +Cc: emacs-orgmode

Justin <justinvallon@gmail.com> writes:

> From: Justin Vallon <JustinVallon@gmail.com>
> Date: Tue, 4 Jul 2023 19:01:27 -0400
> Subject: [PATCH] Use compat org-time-convert-to-list for emacs <27.1

Well. Technically Org 9.7 will drop Emacs 26 support as Emacs 29 will be
released prior to Org 9.7 release.

But it does not heart applying this patch.
Applied, onto main, with amendments to the commit message.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=f18fad60b

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-05 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 23:29 [PATCH] Use compat org-time-convert-to-list for emacs <27.1 Justin
2023-07-05 10:30 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).