From ba4f1d28ecd6490e6886b7e3de89b0eab65b339a Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 10 Jul 2019 00:09:24 +0200 Subject: [PATCH] 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. --- lisp/json.el | 9 --------- 1 file changed, 9 deletions(-) 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." -- 2.39.5