From: Lars Ingebrigtsen Date: Tue, 9 Jul 2019 22:09:24 +0000 (+0200) Subject: Remove json-pretty-print-max-secs introduced earlier this year X-Git-Tag: emacs-27.0.90~2028 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ba4f1d28ecd6490e6886b7e3de89b0eab65b339a;p=emacs.git Remove json-pretty-print-max-secs introduced earlier this year * lisp/json.el (json-pretty-print-max-secs): Remove the variable as it's no longer used. --- diff --git a/lisp/json.el b/lisp/json.el index 460fdec7256..eae5eda783d 100644 --- a/lisp/json.el +++ b/lisp/json.el @@ -49,8 +49,6 @@ ;; 2008-02-21 - Installed in GNU Emacs. ;; 2011-10-17 - Patch `json-alist-p' and `json-plist-p' to avoid recursion -tzz ;; 2012-10-25 - Added pretty-printed reformatting -Ryan Crum (ryan@ryancrum.org) -;; 2019-02-02 - Pretty-printing now uses replace-region-contents and support for -;; minimization -tsdh ;;; Code: @@ -757,13 +755,6 @@ With prefix argument MINIMIZE, minimize it instead." (interactive "P") (json-pretty-print (point-min) (point-max) minimize)) -(defvar json-pretty-print-max-secs 2.0 - "Maximum time for `json-pretty-print's comparison. -The function `json-pretty-print' uses `replace-region-contents' -(which see) passing the value of this variable as argument -MAX-SECS.") -(make-obsolete-variable 'json-pretty-print-max-secs nil "27.1") - (defun json-pretty-print (begin end &optional minimize) "Pretty-print selected region. With prefix argument MINIMIZE, minimize it instead."