diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-02-13 00:23:23 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-02-13 00:23:58 -0800 |
commit | 8e0d35802cda844ccb6ddf417672b5a5845f4874 (patch) | |
tree | efc7d91c6e7a5a7352ebdbe83d6289e225bceb23 /lisp/url/url-util.el | |
parent | 7ee12d95fb646fed16c953dc00f8e5bffde959cc (diff) | |
download | emacs-8e0d35802cda844ccb6ddf417672b5a5845f4874.tar.gz |
Don’t assume CURRENT_TIME_LIST
* 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.
Diffstat (limited to 'lisp/url/url-util.el')
-rw-r--r-- | lisp/url/url-util.el | 2 |
1 files changed, 1 insertions, 1 deletions
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))) |