From 8e0d35802cda844ccb6ddf417672b5a5845f4874 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Feb 2019 00:23:23 -0800 Subject: =?UTF-8?q?Don=E2=80=99t=20assume=20CURRENT=5FTIME=5FLIST?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * lisp/url/url-util.el (url-lazy-message): Don’t assume (current-time) returns a list. Fix unlikely bug if we’re called 65536 seconds apart. --- lisp/url/url-util.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/url/url-util.el') diff --git a/lisp/url/url-util.el b/lisp/url/url-util.el index 1ca257210aa..c2baa69d5a9 100644 --- a/lisp/url/url-util.el +++ b/lisp/url/url-util.el @@ -182,7 +182,7 @@ Will not do anything if `url-show-status' is nil." (null url-show-status) (active-minibuffer-window) (= url-lazy-message-time - (setq url-lazy-message-time (nth 1 (current-time))))) + (setq url-lazy-message-time (encode-time nil 'integer)))) nil (apply 'message args))) -- cgit v1.2.1