From: Stefan Kangas Date: Fri, 1 Sep 2023 20:17:48 +0000 (+0200) Subject: Fix two defcustom :types X-Git-Tag: emacs-29.1.90~157 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60dcea7658a;p=emacs.git Fix two defcustom :types * lisp/frame.el (blink-cursor-blinks): * lisp/url/url-vars.el (url-max-redirections): Revert defcustom :types back to integer. (Bug#65655) --- diff --git a/lisp/frame.el b/lisp/frame.el index bf984da0d62..884c2427c0d 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -2851,7 +2851,7 @@ Values smaller than 0.2 sec are treated as 0.2 sec." "How many times to blink before using a solid cursor on NS, X, and MS-Windows. Use 0 or negative value to blink forever." :version "24.4" - :type 'natnum + :type 'integer :group 'cursor) (defvar blink-cursor-blinks-done 1 diff --git a/lisp/url/url-vars.el b/lisp/url/url-vars.el index 7e2290217d0..ef4b8b2841b 100644 --- a/lisp/url/url-vars.el +++ b/lisp/url/url-vars.el @@ -331,7 +331,7 @@ undefined." (defcustom url-max-redirections 30 "The maximum number of redirection requests to honor in a HTTP connection. A negative number means to honor an unlimited number of redirection requests." - :type 'natnum + :type 'integer :group 'url) (defcustom url-confirmation-func 'y-or-n-p