Lint timestring.el

Sidenote: I have *no* idea when or why I wrote this... sleep-writing Elisp
This commit is contained in:
William Carroll 2020-08-31 14:46:47 +01:00
parent 2844c1ffbd
commit 8d02e5a5ef

View file

@ -2,7 +2,7 @@
;; Author: William Carroll <wpcarro@gmail.com> ;; Author: William Carroll <wpcarro@gmail.com>
;; Version: 0.0.1 ;; Version: 0.0.1
;; Package-Requires: ((ts "0.2") (emacs "25.1")) ;; Package-Requires: ((emacs "25.1"))
;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase ;; Homepage: https://user.git.corp.google.com/wpcarro/briefcase
;;; Commentary: ;;; Commentary:
@ -57,8 +57,10 @@
(alist-get (completing-read label xs) xs nil nil #'equal)) (alist-get (completing-read label xs) xs nil nil #'equal))
(defun timestring-copy-encoded-time () (defun timestring-copy-encoded-time ()
"Select a common time and then select an encoding. The selected time will be "Select a common time and an encoding.
encoded using the selected encoding and copied onto your clipboard."
The selected time will be encoded using the selected encoding and copied onto
your clipboard."
(interactive) (interactive)
(let ((time (funcall (timestring--completing-read (let ((time (funcall (timestring--completing-read
"Time: " timestring-supported-times))) "Time: " timestring-supported-times)))