diff options
Diffstat (limited to 'emacs/guix-utils.el')
-rw-r--r-- | emacs/guix-utils.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/guix-utils.el b/emacs/guix-utils.el index f99c2ba884..878781489e 100644 --- a/emacs/guix-utils.el +++ b/emacs/guix-utils.el @@ -138,6 +138,14 @@ split it into several short lines." hist def inherit-input-method) :test #'string=)) +(declare-function org-read-date "org" t) + +(defun guix-read-date (prompt) + "Prompt for a date or time using `org-read-date'. +Return time value." + (require 'org) + (org-read-date nil t nil prompt)) + (defun guix-get-key-val (alist &rest keys) "Return value from ALIST by KEYS. ALIST is alist of alists of alists ... which can be consecutively |