On 4/11/22 08:22, Max Nikulin wrote:
+ (defmacro org-encode-time (&rest time) + (pcase (length time) + (1 `(encode-time ,(car time))) + (6 `(encode-time (list ,@time nil -1 nil))) + (9 `(encode-time (list ,@time)))
After seeing this code and thinking about it a bit more I now understand better why you'd prefer Emacs encode-time to accept a 6-argument list. I'll work on adding that to Emacs master (to become Emacs 29). Of course something like the above will still needed for Emacs 27 and 28.