]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove json-pretty-print-max-secs introduced earlier this year
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 9 Jul 2019 22:09:24 +0000 (00:09 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 9 Jul 2019 22:09:30 +0000 (00:09 +0200)
* lisp/json.el (json-pretty-print-max-secs): Remove the variable
as it's no longer used.

lisp/json.el

index 460fdec72564441dbc859bbf018799d9a1ef142d..eae5eda783d840b29c73b54ba5db9e6a77b04ebf 100644 (file)
@@ -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."